I'm trying to install pip3, but I'm not having any luck. Also, I tried sudo install
and it did not work. How could I install pip3 on my Mac?
sudo easy_install pip3
Password:
Searching for pip3
Reading https://pypi.python.org/simple/pip3/
Couldn't find index page for 'pip3' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or download links found for pip3
error: Could not find suitable distribution for Requirement.parse('pip3')
I ran the below where
<user>:<group>
matched the other<user>:<group>
for other files in the/usr/local/lib/python3.7/site-packages/
directory:You could use home-brew
Then just run:
I solved the same problem with these commands:
UPDATED - Homebrew version after 1.5
According to the official Homebrew page:
So to install Python 3, run the following command:
Then, the
pip
orpip3
is installed automatically, and you can install any package bypip install <package>
.The older version of Homebrew
Not only
brew install python3
but alsobrew postinstall python3
So you must run:
Note that you should check the console, as it might get you errors and in that case, the
pip3
is NOT installed.Similar to Oksana but add python3
Seem now work for pip3 under mac os x 10.13.3 Xcode 9.2
To install or upgrade pip, download get-pip.py from the official site. Then run the following command:
and it will install
pip
for your python version which runs the script.