Can't use pip after download?
Solution 1
My problem was that I was adding ;C:\Python\Scripts to the system variables PATH.
Adding this to the user variables PATH resolved my issue.
Solution 2
Did you check if you have pip.exe's parent directory added to your "Environment variables" paths?
You can use this page to consult on how to check / change / add / delete environment variable paths. How to set the path and environment variables in Windows
Basically what you have to do is
- Find
pip.exe
, which is most likely inC:\Python27\Scripts\pip.exe
- Add it's parent directory (eg.
C:\Python27\Scripts
) in the Environment Variable paths.
Now you should be able to run commands using pip such as pip install httpie
.
Hopefully the matter is resolved for you.
Related videos on Youtube
Nebur
Updated on September 18, 2022Comments
-
Nebur over 1 year
This is how I downloaded pip:
I installed https://bootstrap.pypa.io/get-pip.py and placed it in the scripts subdirectory of Python.
Then I ensured that the scripts subdirectory was a part of my system path.
Next I used command prompt to navigate to the file and ran it.
It downloaded and installed
pip
successfully (As far as I could tell).
My problem is that now when I try to use the
pip install Django==1.6.5
command, it sayspip
is not recognized as an internal or external command.What am I missing?
-
Nebur almost 10 yearsYeah, I've done this already S: no luck
-
Nebur almost 10 yearsIm going to go ahead and try a system restart
-
Unrealist almost 10 yearsYou must reboot after that :)
-
Nebur almost 10 yearsStill no good )= , any other ideas?
-
Unrealist almost 10 yearsOk go to the pip.exe directory and open your command shell there and then execute the command. See if that helps. If that works, then you might have to recheck you environment paths.
-
Nebur almost 10 yearsStill nope S: This is the worst haha
-
Unrealist almost 10 yearsDo you even have pip in your Python/Scripts directory? Because otherwise that means, the installation didn't go right.
-
Nebur almost 10 yearsYeah its there, It ended up in Python27\Lib\site-packages... and I tried to add that to the Path as well... no luck