快捷菜单
常用功能一站直达
更多功能请点顶栏「快捷菜单」

[toc]

1C:\Users\Win>pip install ipython
2Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
3WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)'))': /simple/ipython/
4WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)'))': /simple/ipython/
5WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)'))': /simple/ipython/
6WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)'))': /simple/ipython/
7WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)'))': /simple/ipython/
8Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/ipython/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simple/ipython/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1124)'))) - skipping
9ERROR: Could not find a version that satisfies the requirement ipython (from versions: none)
10ERROR: No matching distribution found for ipython
win10
之前是有配置pip源为清华源:
1pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
--trusted-host参数(成功)原因分析:
无法访问到https://pypi.tuna.tsinghua.edu.cn/simple/pip,SSL证书认证问题。
解决办法:
pip install ipython –trusted-host pypi.tuna.tsinghua.edu.cn 在语句后面将其设置为可信任即可,问题得到了解决。
1pip install -i https://pypi.tuna.tsinghua.edu.cn/simple ipython --trusted-host pypi.tuna.tsinghua.edu.cn
1pip install -i http://pypi.douban.com/simple/ ipython --trusted-host pypi.douban.com
可以看到,此时2023年6月17日清华源不能用了,这里就暂且使用豆瓣源即可。
1pip config set global.index-url http://pypi.douban.com/simple/
2
3#后面使用如下命令安装python库就好
4pip install ipython --trusted-host pypi.douban.com
1pip config set global.index-url http://pypi.douban.com/simple/
2pip config set install.trusted-host pypi.douban.com
3
4#后面使用如下命令安装python库就好
5#pip install ipython --trusted-host pypi.douban.com
6pip install ipython
https://blog.csdn.net/qq_32473523/article/details/122087467
https://blog.csdn.net/yuan2019035055/article/details/127530222
我的博客主旨:
🍀 微信二维码 x2675263825 (舍得), qq:2675263825。

🍀 微信公众号 《云原生架构师实战》

🍀 语雀
https://www.yuque.com/xyy-onlyone

🍀 csdn https://blog.csdn.net/weixin_39246554?spm=1010.2135.3001.5421

🍀 知乎 https://www.zhihu.com/people/foryouone

好了,关于本次就到这里了,感谢大家阅读,最后祝大家生活快乐,每天都过的有意义哦,我们下期见!
日历 · 精选 · 友链 · 更多
如果内容对你有帮助,欢迎请我喝杯咖啡 ☕



One的公众号
爱折腾博客的小白