pip is configured ... that require TLS/SSL

2024-10-13 03:13:05

1、centos7.3中使用pip3安装软件报错:pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.如下图,当我安装Django时候,报错

pip is configured ... that require TLS/SSL

3、那么你需要 进入python 安装包 目袄嬖艽蛞录下重新编译并且安装pythoncd Python-3.6.3进入目录下,依次执行以下3条命令./c泠贾高框onfigure --with-sslmakesudo make install执行完成后 pip3 就可以安装軟件了,如下图2我重新安装Django,安装成功

pip is configured ... that require TLS/SSL
猜你喜欢