安装torchvision
的命令:
conda install torchvision -c pytorch
结果报错: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.
深呼吸,吸气呼气,proxy configuration是代理配置的意思,然后发现是因为fanqiang,解决法案:
关闭代理服务器,断开科学上网vpn连接。
重新下载就ok了
Downloading and Extracting Packages torchvision-0.9.1 | 7.3 MB | ############################################################################ | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done