pip is configured with locations that require TLS/SSL

简介: pip is configured with locations that require TLS/SSL

使用pip安装报错

pip is configured with locations that require TLS/SSL

方式一:

安装 openssl-devel 重新编译Python

方式二:

临时使用http源,如果赶时间,可以快速解决问题

pip install supervisor -i  --trusted-host pypi.douban.co

或者修改配置文件

# 文件不存在就新建一个

$ vi ~/.pip/pip.conf
[global]
index-url =
trusted-host = pypi.douban.com

参考

Python编程:pip安装第三方模块

            </div>
目录
相关文章
|
网络安全
ImportError: pycurl: libcurl link-time ssl backend
ImportError: pycurl: libcurl link-time ssl backend
196 0
|
3月前
|
Linux 网络安全 开发者
【Python】已解决:WARNING: pip is configured with locations that require TLS/SSL, however the ssl module i
【Python】已解决:WARNING: pip is configured with locations that require TLS/SSL, however the ssl module i
282 3
|
安全 网络安全 PHP
解决SSL routines:ssl3_get_server_certificate:certificate verify failed
解决SSL routines:ssl3_get_server_certificate:certificate verify failed
560 0
|
5月前
|
安全 网络安全
Peer's certificate issuer has been marked as not trusted by the user. 是什么原因导致的
"Peer's certificate issuer has been marked as not trusted by the user" 是一个SSL/TLS错误消息,通常出现在与安全连接的服务器进行握手时。这个错误消息表示用户将证书颁发机构(Certificate Authority,CA)标记为不受信任。 这种情况可能有以下几个原因: 1. 证书过期:证书有一个有效期限,如果证书已经过期,浏览器会将其标记为不受信任。 2. 证书颁发机构不受信任:浏览器内置了一些受信任的证书颁发机构列表,如果服务器使用的证书颁发机构不在该列表中,浏览器会将其标记为不受信任。 3. 自签名证书:如
1224 0
|
5月前
|
关系型数据库 MySQL
Authentication plugin ‘caching_sha2_password‘ cannot be loaded: /usr/lib64/mysql/plugin/caching_sha2
Authentication plugin ‘caching_sha2_password‘ cannot be loaded: /usr/lib64/mysql/plugin/caching_sha2
219 0
|
IDE 网络安全 PHP
composer遇到SSL3_GET_SERVER_CERTIFICATE
composer遇到SSL3_GET_SERVER_CERTIFICATE
191 1
composer遇到SSL3_GET_SERVER_CERTIFICATE
|
Shell 网络安全 开发工具
Github: fatal: Unsupported SSL backend ‘“openssl”‘. Supported SSL backends: openssl schannel
Github: fatal: Unsupported SSL backend ‘“openssl”‘. Supported SSL backends: openssl schannel
331 0
Github: fatal: Unsupported SSL backend ‘“openssl”‘. Supported SSL backends: openssl schannel
|
网络安全 Python
pip is configured with locations that require TLSSSL
pip is configured with locations that require TLS/SSL
92 0
|
网络安全 开发工具 git
git SSL certificate problem: unable to get local issuer certificate
git SSL certificate problem: unable to get local issuer certificate
281 1
|
网络安全 Python
pip is configured with locations that require TLS/SSL
pip is configured with locations that require TLS/SSL
110 0