问题:

centos安装了python3后出现 pip3无法使用,无论是重新安装都无法使用。具体错误信息如下:

pip3无法使用(错误:pip is configured with locations that require TLS/SSL, however the ssl model in ...)

解决办法:

增加pip3的源:

创建文件,~/pip/pip.conf  增加内容:

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

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

成功运行:

pip3无法使用(错误:pip is configured with locations that require TLS/SSL, however the ssl model in ...)

相关文章:

  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2021-12-21
  • 2021-07-11
  • 2021-10-26
  • 2021-09-10
猜你喜欢
  • 2021-05-02
  • 2021-09-15
  • 2022-12-23
  • 2021-08-22
  • 2021-12-30
相关资源
相似解决方案