在使用pip进行软件包安装的时候出现问题:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
解决:
csharp;gutter:true;
mkdir -p ~/.pip
vim ~/.pip/pip.conf</p>
<pre><code>
然后添加内容:
;gutter:true;
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host = mirrors.aliyun.com
再次使用pip安装即可。
Original: https://www.cnblogs.com/yifengyu/p/16426371.html
Author: 平行时空的旅者
Title: Centos8 python pip报错: pip is configured with locations that require TLS/SSL 解决
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/601249/
转载文章受原作者版权保护。转载请注明原作者出处!