[Python] CondaHTTPError: HTTP 000 CONNECTION FAILED for url

时间:2019-04-19 01:26:31   收藏:0   阅读:2966

 

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


应该就好了 祝你顺利
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!