JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

解决:pip is configured with locations that require TLS/SSL

发布时间 2023-06-13 14:56:01作者: 奥兰王子

 

在使用pip进行软件包安装的时候出现问题:

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
解决:

mkdir -p ~/.pip
vim ~/.pip/pip.conf

 

然后输入内容:

[global]
index-url = http://mirrors.aliyun.com/pypi/simple/

[install]
trusted-host = mirrors.aliyun.com

再次使用pip安装即可。

 

    本栏目推荐文章
  • A connection was successfully established with the server but then an error
  • mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION; ERROR 1410 (42000): You are not allowed to create a user with GRANT
  • org.springframework.kafka.listener.ListenerExecutionFailedException: Listener method could not be invoked with the incoming message
  • Dynamics 365 Finance & Operations with Power Automate
  • CDS Virtual Entities with Dynamics 365 Finance and Operations
  • [LeetCode] 2085. Count Common Words With One Occurrence
  • 【LeetCode 1635. Hopper 公司查询 I】with recursive生成2020年每月的最后一天
  • devmapper: Thin Pool has 162394 free data blocks which is less than minimum required 163840 free data blocks
  • ubuntu20.04 opencv 4.2 + opencv_contrib 4.2.0 安装笔记 和 opencv 4.5.4 with cuda 安装笔记
  • how to work with FlatBuffers
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们