This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients pmpp, vstinner
Date 2019-10-07.14:04:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570457096.9.0.122987841003.issue38393@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-10-07 14:04:56vstinnersetrecipients: + vstinner, pmpp
2019-10-07 14:04:56vstinnersetmessageid: <1570457096.9.0.122987841003.issue38393@roundup.psfhosted.org>
2019-10-07 14:04:56vstinnerlinkissue38393 messages
2019-10-07 14:04:56vstinnercreate