This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients Adrian Chan, docs@python, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2017-02-17.12:53:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487336003.77.0.372373495445.issue29586@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-02-17 12:53:23eryksunsetrecipients: + eryksun, paul.moore, tim.golden, docs@python, zach.ware, steve.dower, Adrian Chan
2017-02-17 12:53:23eryksunsetmessageid: <1487336003.77.0.372373495445.issue29586@psf.upfronthosting.co.za>
2017-02-17 12:53:23eryksunlinkissue29586 messages
2017-02-17 12:53:23eryksuncreate