python中使用pip install 命令时报ssl缺失的错误

来源:互联网 发布:程小青 知乎 编辑:程序博客网 时间:2024/05/10 20:14
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.Could not fetch URL https:*******: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping这是因为在安装python时./configure没有指定引入ssl 需要./configure --with-ssl 然后make && make install 即可如果是linux自带的Python版本则可能不存在这个问题,如果升级了Python则势必存在。
阅读全文
0 0
原创粉丝点击