Message354098
The problem is that Python looks for pyvenv.cfg in the program directory or in its parent directory. For example:
/tmp/testenv/Python-3.8.0rc1/python looks for /tmp/testenv/Python-3.8.0rc1/pyvenv.cfg (doesn't exist) and
/tmp/testenv/Python-3.8.0rc1/pyvenv.cfg (exists). On my system, pyvenv.cfg contains:
---
home = /usr/bin
include-system-site-packages = false
version = 3.7.4
---
We should add an option to ignore pyvenv.cfg, or modify an existing option like -I to ignore pyvenv.cfg. |
|
Date |
User |
Action |
Args |
2019-10-07 14:04:56 | vstinner | set | recipients:
+ vstinner, pmpp |
2019-10-07 14:04:56 | vstinner | set | messageid: <1570457096.9.0.122987841003.issue38393@roundup.psfhosted.org> |
2019-10-07 14:04:56 | vstinner | link | issue38393 messages |
2019-10-07 14:04:56 | vstinner | create | |
|