1. 程式人生 > >[Python] CondaHTTPError: HTTP 000 CONNECTION FAILED for url

[Python] CondaHTTPError: HTTP 000 CONNECTION FAILED for url

channels use 應該 ive users onf 編輯 技術 default

CondaHTTPError: HTTP 000 CONNECTION FAILED for url

遇到這個問題 解決方法如下兩個

一、C:\Users\Administrator 目錄下 編輯 .condarc文件 去掉所有的https 變為 http 也即是刪除 s

然後刪除 - default 那一行

技術分享圖片

二、 命令行下逐個運行 如下指令 (添加源)

  

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes


應該就好了 祝你順利

[Python] CondaHTTPError: HTTP 000 CONNECTION FAILED for url