sudo easyinstall pip報(bào)錯(cuò)
python版本是系統(tǒng)自帶的2.7.10,openssl版本是OpenSSL 0.9.8zh 14 Jan 2016,macos是10.12.6
具體報(bào)錯(cuò)如下:
$ sudo easy_install-2.7 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
error: Could not find suitable distribution for Requirement.parse('pip')
猜測(cè)是ssl的問(wèn)題,網(wǎng)上搜索了一下沒(méi)有遇到有用的方案,求助攻
添加回答
舉報(bào)
0/150
提交
取消