Here is a screenshot I took.
When I try to use pip
in command prompt I get the following error message:
pip
is not recognized as an internal or external command, operable program or batch file.
I already checked this thread: How do I install pip on Windows?
All I could find there was I had to add "C:\PythonX\Scripts"
to my classpath, where X
stands for python version.
As you can see on my screenshot I already have this path. I already tried restarting the computer but that didn't work, o.O. The screenshot also shows my C:\Python27\Scripts
folder.
Does anyone know what I am doing wrong?
The error “'pip' is not recognized as an internal or external command” is encountered because of two main reasons that are. PIP Installation path is not added to the system variables: If you have installed python through prompt then you need to configure PIP path manually.
One of the most common problems with running Python tools like pip is the “not on PATH” error. This means that Python cannot find the tool you're trying to run in your current directory. In most cases, you'll need to navigate to the directory in which the tool is installed before you can run the command to launch it.
There is a space before the last path entry, right after the previous semicolon, that is causing the problem.
Go to C:\Python27\Scripts
Now select the url bar and replace whole content with cmd
This way you directly reach to the directory where pip is available in command prompt
Now type pip install Django==1.8.5
it will download and install Djanog
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With