Did you read the docs? ie:
Answer from BPL on Stack OverflowDo I need to install pip? pip is already installed if you are using Python 2 >=2.7.9 or Python 3 >=3.4 downloaded from python.org or if you are working in a Virtual Environment created by virtualenv or pyvenv. Just make sure to upgrade pip.
Installing with get-pip.py To install pip, securely download get-pip.py. [1]:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
How do I download pip?
python - Where do I find the "get-pip.py" dowload link? - Stack Overflow
python - Where is pip installed to when using get-pip.py? - Stack Overflow
How do i download get-pip.py
Videos
Hey guys - sorry for what is probably a really dumb question. I'm very new to coding, doing an introduction to python course over on datacamp.com, and can see that I need to download pip. What is wrong with me - how the hell do I do this!?
I've gone to the get pip py link which everyone seems to talk about. I've tried running the command in my shell (IDLE): 'curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py', and I've tried copying all the code that pops up when you follow the 'https://bootstrap.pypa.io/get-pip.py' link into the shell.. which just gives me errors.
Can't see any options anywhere of just a file to download or anything...
Anyone had the same experience? I'm using Mac OS Sierra
If you can't find the path to pip you can simply use python -m pip instead:
python -m pip install awesome_package
Do you know your python path? If yes, then look under the Scripts directory.
For me (Windows user), pip it is located in
C:\Python27\Scripts\pip.exe
Correspondingly for Linux, it should be inside
/usr/lib/python2.7/dist-packages/pip
Also, if you have Homebrew installed, pip installs with python:
brew install python
And, the fact that you have python & pip installed & cannot get pip but can get python from the command line (path), pip must have been misconfigured.
If you still can't find it, you can use locate pip for Linux, or a corresponding search method for other OSs. Also, in your case, it already seems to be in
/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages
as per the output message.
ยป pip install pip