[docs] [issue29586] Cannot run pip in fresh install of py 3.5.3

Eryk Sun report at bugs.python.org
Fri Feb 17 07:53:23 EST 2017


Eryk Sun added the comment:

That error looks like __init__.py[c] was left in "C:\python27\lib\site-packages\pip". Just to be sure, since I don't know what you did to clear the value, please run `set PYTHONPATH=` to clear the value for the current shell. Then try `python -m pip`.

When you modify or remove an environment variable using the control panel dialog, it broadcasts a window message that causes Explorer to reload its environment. Generally console applications such as cmd.exe do not own a top-level window (the console window is owned by conhost.exe) and thus cannot see this broadcasted message. To get the updated environment, you have to run a new instance of cmd from Explorer.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29586>
_______________________________________


More information about the docs mailing list