I have installed pip using Python from cmd on Windows using get-pip.py from my downloads. It's showing installation successful. But when I verify it using pip --version, I get this error:
pip is not recognized as an internal command
More detail:
I have installed pip using Python from cmd on Windows using get-pip.py from my downloads. It's showing installation successful. But when I verify it using pip --version, I get this error:
pip is not recognized as an internal command
More detail:
Using pip on windows is a little different than a lot of the pip documentation. If you have Python 3.3 or higher, you can use the py python launcher for Windows:
py -m pip --version If you have Python 3.2 or less, then try this:
python -m pip --version If you get an error message that says: 'python' is not recognized as an internal or external command, operable program or batch file, then python is not on your system path. So you'll need to give the full path to the python executable:
c:/python27/python -m pip --version In this example, c:/python27 is the folder where my python 2.7 version is installed.
py -m pip --version
Next check the path where it is installed, as what you need to do is "just set the environment variable path for pip". Typically such executable files resides inside Programs\Python\Python35-32\Scripts
Copy the path of Scripts folder, go to environment variable, save the path and restart your command prompt.
You need to get the directory to the Python interpreter as well as the PIP one and insert them both into the PATH system variable. Also, try out: python -m pip install package or: py -m pip install package