Could not fetch URL https:pypi.python.orgsimpledocx: There was a problem confirming the ssl c

Could not fetch URL https:pypi.python.orgsimpledocx: There was a problem confirming the ssl c,第1张

目录
  • 1 linux使用pip3安装东西,报错
  • 2 解决

1 linux使用pip3安装东西,报错
  Could not fetch URL https://pypi.python.org/simple/docx/: There was a problem confirming the ssl certificate: 
  HTTPSConnectionPool(host='pypi.python.org', port=443): Max 
  retries exceeded with url: /simple/docx/ (Caused by 
  SSLError("Can't connect to HTTPS URL because the SSL module
   is not available.",)) - skipping

2 解决

换了一个镜像网站来安装,解决问题:

pip install redis -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/langs/942334.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-18
下一篇2022-05-18

发表评论

登录后才能评论

评论列表(0条)

    保存