pip is configured with locations that require TLSSSL

简介: 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 =
trusted-host = pypi.douban.com

参考

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

            </div>
目录
相关文章
|
网络安全 Python
pip is configured with locations that require TLS/SSL
pip is configured with locations that require TLS/SSL
101 0
|
网络安全 Python
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
# 背景 安装pip后发现执行pip install pytest,提示下面错误 pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
6265 0
|
4天前
|
机器学习/深度学习 Linux 开发者
Python必备工具:pip的安装与管理
Python必备工具:pip的安装与管理
11 0
|
2月前
pip安装iterstrat.ml_stratifiers import MultilabelStratifiedKFold, MultilabelStratifiedShuffleSplit
文章介绍了如何使用iterative-stratification库进行多标签多分类的K折交叉验证,包括安装方法和示例代码。
27 1
|
2月前
|
存储 Linux 网络安全
常用的 Python 工具:使用 virtualenv、使用 Pip 进行安装和管理包
常用的 Python 工具:使用 virtualenv、使用 Pip 进行安装和管理包
24 0
|
2月前
|
Python
Python——pip安装weditor失败
Python——pip安装weditor失败
42 0
|
3月前
|
Web App开发 测试技术 Shell
确保您已经安装了Selenium和ChromeDriver。您可以使用pip来安装Selenium:
确保您已经安装了Selenium和ChromeDriver。您可以使用pip来安装Selenium:
|
3月前
|
SQL Python
你需要在你的系统上安装`sqlmap`。这通常可以通过下载其源代码并编译,或者使用包管理器(如`apt`、`yum`或`pip`,但请注意,`pip`通常不直接提供`sqlmap`)来完成。
你需要在你的系统上安装`sqlmap`。这通常可以通过下载其源代码并编译,或者使用包管理器(如`apt`、`yum`或`pip`,但请注意,`pip`通常不直接提供`sqlmap`)来完成。
|
3月前
|
开发框架 机器人 .NET
我们需要安装`pybullet`模块,这可以通过pip来完成:
我们需要安装`pybullet`模块,这可以通过pip来完成:
|
3月前
|
Python
确保你已经安装了`dronekit`库。如果没有,你可以使用pip来安装:
确保你已经安装了`dronekit`库。如果没有,你可以使用pip来安装: