多语言展示
当前在线:413今日阅读:99今日分享:20

pip is configured ... that require TLS/SSL

centos中使用pip安装报错:pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available
工具/原料
1

centos7.3 python3.6.3 pip3

2

centos7.3 python3.6.3 pip3

方法/步骤
1

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

2

解決办法,首先安装 openssl-develsudo yum install openssl-devel安装成功后,使用pip3 继续安装djangopip3 install django如果还是报错步骤1中的情况,那么进入步骤3

推荐信息