How to install pip3 on my Mac?

2019-01-30 04:54发布

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')

8条回答
啃猪蹄的小仙女
2楼-- · 2019-01-30 05:16

For me brew postinstall python3 didn't work. Found this solution on GitHub homebrew issues page:

$ brew rm python 
$ rm -rf /usr/local/opt/python
$ brew prune 
$ brew install python3
查看更多
beautiful°
3楼-- · 2019-01-30 05:23

Python3 was working successfully but without pip3. Tried many advises from stackoverflow, quora and others. (numerous installs and uninstalls)

Python3 was always fine but without pip3. Finally I downloaded Python3 from: https://www.python.org/downloads/

By simple mouse clicks and everything (Python3 + pip3) is working fine now.

查看更多
登录 后发表回答