After following this article: How do I install pip on Windows? on my Windows system using Enthought Canopy 64 Bit system, I cannot get pip or easy_install to work due to err
Just ran into this. Sort of. Pip worked for me, but after installing pytest-watch, running the ptw
script was giving this error.
For some reason, pip stopped quoting the #! in ptw-script.py
:
#!C:\Program Files (x86)\Python\python.exe
It worked after I added quotes manually:
#!"C:\Program Files (x86)\Python\python.exe"
I don't really know why this suddenly started happening. Adding this here in case anyone else coming here from Google runs into the same thing.
Here's a related pip issue (I think).