[Python] CondaHTTPError: HTTP 000 CONNECTION FAILED for url

 

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


应该就好了 祝你顺利
posted @ 2019-04-19 00:18  Startu  阅读(578)  评论(0编辑  收藏  举报