[issue43218] after venv activation "which python3" and sys.path both give base installation instead of venv
Ned Deily
report at bugs.python.org
Sun Feb 14 17:21:16 EST 2021
Ned Deily <nad at python.org> added the comment:
Are you sure there wasn't an existing virtual environment at .venv? By default, venv does not upgrade an existing environment. Try deleting the .venv directory first, assuming there is nothing in the environment you want to save. Otherwise you could try debugging the shell steps with the shell command:
set -x
and, if necessary, debugging the python environment with:
python3 -m test.pythoninfo
https://docs.python.org/3.9/library/venv.html
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43218>
_______________________________________
More information about the Python-bugs-list
mailing list