Mac : osx安装pip报错

Pro:~ longqi$ sudo easy_install pip 

Password:

Searching for pip

Reading https://pypi.python.org/simple/pip/

Download error on https://pypi.python.org/simple/pip/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!

Couldn't find index page for 'pip' (maybe misspelled?)

Scanning index of all packages (this may take a while)

Reading https://pypi.python.org/simple/

Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!

No local packages or download links found for pip

 解决:

url 'https://bootstrap.pypa.io/get-pip.py' > get-pip.py

sudo python get-pip.py

猜你喜欢

转载自blog.csdn.net/LiuKingJia/article/details/81430674