【亲测有效】linux conda proxy报错问题解决方法
conda proxy报错问题怎么解决?
报错信息如下:
ProxyError: Conda cannot proceed due to an error in your proxy configuration.
Check for typos and other configuration errors in any ‘.netrc’ file in your home directory,
any environment variables ending in ‘_PROXY’, and any other system-wide proxy
configuration settings.
我的环境
$ uname -v
132~20.04.1-Ubuntu SMP Fri Aug 30 15:50:07 UTC 2024
$ conda --version
conda 24.7.1
系统配置了代理。
问题描述
当执行 $ conda update conda
或 $ conda install numpy
时,出现如下错误:
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f9958c53680>: Failed to resolve 'http' ([Errno -3] Temp