從conda中下載包時報錯:
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <http://mirrors.ustc.edu.cn/anaconda/pkgs/free/win-64/repodata.json>
首先看自己的.condarc
文件,我使用的是清華源:
channels:
- http://mirrors.ustc.edu.cn/anaconda/pkgs/free/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
show_channel_urls: true
最後發現是自己開的VPN掛了代理,在“網絡和Internet”->"代理"中將代理服務器關閉就可以了。