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 http ://pypi.douban.com/simple/ --trusted-host pypi.douban.co

或者修改配置文件

# 文件不存在就新建一个

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

参考

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

            </div>
目录
相关文章
|
存储 边缘计算 人工智能
边缘计算是啥?
边缘计算是啥?
946 0
|
Linux 关系型数据库 Oracle
|
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
4794 3
|
Linux 网络安全 Python
学会这个,再也不怕Python环境安装 (CentOS 6 Python2.7 & Python3.7)
学会这个,再也不怕Python环境安装 (CentOS 6 Python2.7 & Python3.7)
1105 0
|
数据采集 JSON 移动开发
Python在线百度文库爬虫(免下载券)
百度文库,文字类型的资源(如txt, doc, pdf),是可以在前端源码分析获取到的,如果能按照规则合理的提取这些文字资源,就可以实现免下载券获取资源.
2402 0
|
10天前
|
数据采集 人工智能 安全