使用conda 安装MEGAHIT 软件时,出现 Solving environment: failed CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/r/linux-64/repodata.json.bz2>:
的错误:
直接安装
$ ./conda install -c bioconda megahit
Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/r/linux-64/repodata.json.bz2>
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.
.....
报错,显示没有源。
配置最新的清华源。这注意必须是最新的,有些旧的不能使用,可以点击链接去看看最新的源是什么?
# vi ~/.condarc
把下列内容拷进去,保存.condarc文件
channels:
- https://mirrors.tuna.tsinghua.edu.cn/