[issue38393] building modules from 3.8.0rc1 fails in a venv when system 3.8 is present

STINNER Victor report at bugs.python.org
Mon Oct 7 10:04:56 EDT 2019


STINNER Victor <vstinner at python.org> added the comment:

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.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38393>
_______________________________________


More information about the Python-bugs-list mailing list