Python 官方文档:入门教程 => 点击学习
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connec
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“httpsConnectionPool(hos
t=‘pypi.org’, port=443): Read timed out. (read timeout=15)”)’: /s
最好是修改pip.conf设置,将国内某一个pypi源设置为默认源,这样就不用每次使用pip3安装包时要指定pypi源,如下所示:
[root@~]# pip3 config set global.index-url Https://mirrors.aliyun.com/pypi/simple/Writing to /root/.config/pip/pip.conf[root@~]# pip3 config listglobal.index-url='https://mirrors.aliyun.com/pypi/simple/'
来源地址:https://blog.csdn.net/weixin_43707560/article/details/129960901
--结束END--
本文标题: WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connec
本文链接: https://lsjlt.com/news/418656.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0