源码安装python-3.7.0时提示pip is configured with locations that require TLS/SSL, however the ssl module in
原因:缺少以下依赖包导致
openssl-devel、zlib-devel
解决方法:安装对应的依赖包,
yum install openssl-devel -y
yum install zlib-devel -y
如果已经源码安装过python 包,则需要重新到解压目录, 重新安装一遍,命令如下:
./configure --with-ssl
make && make install
...
原创
2020-11-09 14:58:22 ·
136 阅读 ·
0 评论