[issue36080] Ensurepip fails to install pip into a nested virtual environment (on Windows)

Sammy Gillespie report at bugs.python.org
Fri Feb 22 10:35:41 EST 2019


Sammy Gillespie <sammygillespie at gmail.com> added the comment:

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 <comand> [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.

----------

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


More information about the Python-bugs-list mailing list