Could not fetch URL https:pypi.orgsimplepip: There was a problem confirming the ssl certificate

Could not fetch URL https:pypi.orgsimplepip: There was a problem confirming the ssl certificate,第1张

Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate

在conda 虚拟环境下只是pip list后,就出现了这个问题,SSL证书不受信任

同时pip install ***也会报这个错误

1.尝试一:手动让信任一下服务器,但是在我这还是不行

 pip --trusted-host pypi.org

2.尝试二:自己创建一个pip-in文件,再把该文件路径添加到环境变量中(网上搜索到的)针对更新或者重装pip的情况

但我之前使用 pip没出现这个错误,应该不是环境变量的问题

3.尝试三:原来是远程服务器没连网,连接网络之后就好啦!

又是被小问题卡住-_-||

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

原文地址:https://54852.com/zaji/5490965.html

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

发表评论

登录后才能评论

评论列表(0条)

    保存