conda連接錯誤CondaHTTPError: HTTP 000 CONNECTION FAILED for url

conda連接報錯

CondaHTTPError: HTTP 000 CONNECTION FAILED for url

方法:

打開C:\Users,找到.condarc文件,

刪除 - default

將 - https://... 改成 - http://...

 

添加鏡像可以用命令

conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

 

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