STINNER Victor <vstin...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue38393> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com