Message 336323 - Python tracker (original) (raw)

To expand on this. Using:

python -m pip

in the second virtual environment (which does not have pip) gives the following usage example:

Usage: C:\venv_test<VENV_1>\Scripts\python.exe -m pip [options]

Yet the python running this command is not in venv_1, it is in venv_2.

So the issue appears to lie with how pip determines its python location. So this issue may be more suited there.