关于网友提出的“ pip安装模块总是报ssl module in Python is not available的错误”问题疑问,本网通过在网上对“ pip安装模块总是报ssl module in Python is not available的错误”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:
问题: 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:http://www.cnblogs.com/yuechaotian/archive/2013/06/03/3115472.html
以上介绍了“ pip安装模块总是报ssl module in Python is not available的错误”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/wd/4185100.html