conda報錯:CondaHTTPError: HTTP 000 CONNECTION FAILED for url

從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”->"代理"中將代理服務器關閉就可以了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章