python装库报错解决
2022/1/14 22:06:08
本文主要是介绍python装库报错解决,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
python装库报错解决
输入的代码:
pip install HSI -i https://pypi.douban.com/simple
报错内容:
Could not fetch URL https://pypi.douban.com/simple/hsi/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.douban.com', port=443): Max retries exceeded with url: /simple/hsi/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violatio n of protocol (_ssl.c:852)'),)) - skipping
解决办法:后面加上
--trusted-host pypi.xxx.com
例如:
pip install HSI -i https://pypi.douban.com/simple --trusted-host pypi.xxx.com
这篇关于python装库报错解决的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-12-28Python编程基础教程
- 2024-12-27Python编程入门指南
- 2024-12-27Python编程基础
- 2024-12-27Python编程基础教程
- 2024-12-27Python编程基础指南
- 2024-12-24Python编程入门指南
- 2024-12-24Python编程基础入门
- 2024-12-24Python编程基础:变量与数据类型
- 2024-12-23使用python部署一个usdt合约,部署自己的usdt稳定币
- 2024-12-20Python编程入门指南