ganhui8005 2016-12-29 06:52 采纳率: 50%
浏览 47989
已采纳

pip安装模块总是报ssl module in Python is not available的错误

环境:centos 6.5 + python2.7.13
问题:使用pip安装模块,总是包pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available的错误。已知系统已经安装openssl、openssl-devel、pyopenssl等模块。请大神帮忙解答。

[root@www ~]# pip install six
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting six
Could not fetch URL https://pypi.python.org/simple/six/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
Could not find a version that satisfies the requirement six (from versions: )
No matching distribution found for six

  • 写回答

1条回答 默认 最新

  • threenewbee 2016-12-29 07:31
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部