为了账号安全,请及时绑定邮箱和手机立即绑定

osx安装pip报错

osx安装pip报错

蝴蝶刀刀 2019-02-20 19:34:36
sudo easyinstall pip报错 python版本是系统自带的2.7.10,openssl版本是OpenSSL 0.9.8zh 14 Jan 2016,macos是10.12.6 具体报错如下: $ 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') 猜测是ssl的问题,网上搜索了一下没有遇到有用的方案,求助攻
查看完整描述

5 回答

?
莫回无

TA贡献1865条经验 获得超7个赞

搞python, 去装个anaconda吧可以省去很多安装上的烦恼

查看完整回答
反对 回复 2019-03-01
?
弑天下

TA贡献1818条经验 获得超8个赞

osx上,brew这种神器可不能没有

查看完整回答
反对 回复 2019-03-01
  • 5 回答
  • 0 关注
  • 713 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信