pip联网问题 SSLError(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748

212 篇文章 26 订阅 ¥19.90 ¥99.00
122 篇文章 5 订阅 ¥19.90 ¥99.00
当遇到pip联网失败,SSL证书验证错误的问题时,可以尝试通过Firefox验证网络连接正常,然后针对pypi.org手动设置信任解决。具体操作包括访问外网确保网络通畅,分析pip连接错误信息,并在pip配置中指定pypi.org为可信主机。
摘要由CSDN通过智能技术生成

有时候你在conda中使用pip,即使在pip.conf中设置了trusted-host,还是不起作用,连不上网:

$ pip search absl-py
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
WARNING: Retrying (Retry(total=4, connect
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值