码迷,mamicode.com
首页 > 编程语言 > 详细

[Python] CondaHTTPError: HTTP 000 CONNECTION FAILED for url

时间:2019-04-19 01:26:31      阅读:2966      评论:0      收藏:0      [点我收藏+]

标签:mirror   问题   url   color   comment   efault   去掉   python   mic   

 

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

标签:mirror   问题   url   color   comment   efault   去掉   python   mic   

原文地址:https://www.cnblogs.com/cjdty/p/10733497.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!