I tried following the instructions here with no luck.
Attached is my cmd prompt output. Any suggestions?
I tried following the instructions here with no luck.
Attached is my cmd prompt output. Any suggestions?
It looks like pip
is not on your path. Try issuing the pip
command again in the folder C:\Python27\Scripts
.
I do not suggest using setx
and it's unfortunate that search results specifically for pip
point to that advice e.g. this. The truncation message to 1024 characters is real. It's very easy for that to simply knock things out of your PATH unintentionally and you might not know what got kicked out in Python's place, if it gets added at all. It will execute and then tell you the issue after the PATH has been modified. You do need to add pip
to your PATH, though.
Instead, edit through right clicking My Computer and selecting "properties" (this is Windows 7):
As illustrated:
;
.You need to add the path to pip.exe
. It's likely in the Scripts
subfolder of the Python installation. You need to only provide the directory path, not reference the .exe
directly.
setx
does have its uses. In really locked-down systems, you can still use it without admin privileges; make of that what you will.
well, I am guessing you are using Windows system. Then I'm also guessing you specified wrong path to the pip program. Check again where is your pip.exe located and add this location to the PATH instead.
The faster way is to reinstall python, and click on the box in the installer that says: