python pip安装时报错:WARNING: Retrying等错误 这样解决!!aconda安装库安装很久没有反应,最后报错!

2023-05-16

python 出现以下报错,是由于你VPN打开了,没有关掉。

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error'))': /simple/netron/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error'))': /simple/netron/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error'))': /simple/netron/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error'))': /simple/netron/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError(0, 'Error'))': /simple/netron/
ERROR: Could not find a version that satisfies the requirement netron
ERROR: No matching distribution found for netron

把VPN关掉后,就可以正常下载了
在这里插入图片描述

如果用conda安装也这样报错,同样把VPN关掉就可以了。

如果aconda安装了很久,一直没有反应,最后报错的话:
1、重启电脑
2、看看自己对应的盘是否还有空间
3、创建新的环境
4、如果新的环境创建不起,还是重装aconda

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

python pip安装时报错:WARNING: Retrying等错误 这样解决!!aconda安装库安装很久没有反应,最后报错! 的相关文章

随机推荐