美文网首页
Mniconda3安装bug

Mniconda3安装bug

作者: R语言数据分析指南 | 来源:发表于2020-04-12 17:29 被阅读0次

conda安装bug

>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/conda/core/subdir_data.py", line 227, in _load
mod_etag_headers.get('_mod'))
File "/opt/conda/lib/python3.7/site-packages/conda/core/subdir_data.py", line 574, in fetch_repodata_remote_request
raise Response304ContentUnchanged()
conda.core.subdir_data.Response304ContentUnchanged
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/conda/exceptions.py", line 819, in __call__
return func(*args, **kwargs)
File "/opt/conda/lib/python3.7/site-packages/conda/cli/main.py", line 78, in _main
exit_code = do_call(args, p)

原因很简单,镜像源配置错误,按照以下方法配置即可

vim .condarc #创建镜像文件
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/ 
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- bioconda
- defaults
- r
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
- conda-forge
show_channel_urls: true
conda create -n bwa #创建安装环境
conda  install -n bwa bwa #安装软件

相关文章

网友评论

      本文标题:Mniconda3安装bug

      本文链接:https://www.haomeiwen.com/subject/dfdbmhtx.html