ERROR:pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
解决方案:
yum install openssl
yum install openssl-dev
重新编译安装python3.5,然后进入pip目录 ./setup.py install
http://www.bleachlei.site/blog/2017/05/15/CentOS-6-X-Python-2-7-%E5%AE%89%E8%A3%85%E5%8F%8Apip-%E9%97%AE%E9%A2%98%E8%A7%A3%E5%86%B3/
本文介绍了解决在 CentOS 上使用 Python 时遇到的 SSL 错误的方法。通过安装 openssl 和 openssl-dev,再重新编译安装 Python,最后在 pip 目录下执行 ./setup.py install 命令来解决问题。
4483

被折叠的 条评论
为什么被折叠?



