There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org‘, port=443)

网友投稿 713 2022-08-23


There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org‘, port=443)

在安装pytest-html是报错了:

Could not fetch URL There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceededwith url: /simple/pytest-html/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)'))) - skippingERROR: Could not find a version that satisfies the requirement pytest-html (from versions: none)ERROR: No matching distribution found for pytest-htmlWARNING: You are using pip version 21.3.1; however, version 22.0.4 is available.You should consider upgrading via the 'C:\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.

确认SSL证书时出现问题,我开始选择网上的办法,选择信任该网站再下载:

pip install --trusted-host pypi.org pytest-html

还是不行,提示“Cannot connect to proxy.”无法连接到代理。

我想了想,emm傻逼了,忘记我开了全局的代理。关掉就可以了


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:com.android.ddmlib.SyncException: Remote object doesn‘t exist
下一篇:spring retry方法调用失败重试机制示例解析
相关文章

 发表评论

暂时没有评论,来抢沙发吧~