CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
用conda命令打包环境,出现了如下错误:
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/linux-64/current_repodata.json>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
'https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/linux-64'
原因:连不上清华的镜像。
按照网上的方法删除 -default 也没有用。
修改方法:
使用下面两个命令,将中科大的镜像加到目录中去
$conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
$conda config --set show_channel_urls yes
然后打开./删除其他所有镜像,以及default
$vim ~/.condarc
修改前:
修改后:
然后就可以了!
看网上有人说,把https 改为http也行,没试,不知道可行否




A beautiful web dashboard for Linux
最近提交(Master分支:28 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)