打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
conda httperror http none none for url none Anaconda更新失败

在conda安装好之后,默认的镜像是官方的,由于官网的镜像在境外,访问太慢或者不能访问,为了能够加快访问的速度,这里选择了清华的的镜像。

在命令行中运行(设置清华的镜像)

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/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/conda config --set show_channel_urls yes

Anaconda更新失败

通过分析,问题只可能是出在default channel上面。于是索性删掉channels下面的 -defaults一行,果然更新成功了。


按上面的设置镜像源后需打开C:\Users\lqk\.condarc这个文件删除 -defaults这一行

附上:C:\Users\lqk\.condarc

.condarc文件里应该是下面这样的内容

channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
show_channel_urls: true

【注】原创内容转载请注明  :Anaconda更新失败解决方法 http://www.lqkweb.com/blog.php?id=80

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Anaconda出现CondaHTTPError: HTTP 000 CONNECTION FAILED for url的解决方法
使用好镜像源,把等待的时间转为生产力
配置一个可以工作的Python环境
使用Anaconda Python科学计算包 | 流光
pytorch慢到无法安装,该怎么办?
解密conda channels
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服