Conda安装软件报错:Solving environment: failed with initial frozen solve. UnsatisfiableError:

复制代码
# vep
# 使用vep对manta结果进行注释
# manta结果是染色体结构变异(SV),这里使用vep进行注释
# vep官方说明文档:
# http://asia.ensembl.org/info/docs/tools/vep/script/vep_tutorial.html
 
# 安装
conda create -n VEP
conda activate VEP
conda install -c bioconda ensembl-vep
# 报错:
# 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.
# 查询发现是清华镜像的问题,怒换中科大镜像
# 尝试:显示现在的镜像:
conda config --show
  - https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/linux-64
  - https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  - https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
# 删除清华镜像,只留下中科大的:
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
# 再次安装,继续报错
conda install -c bioconda ensembl-vep
# Collecting package metadata (current_repodata.json): done
# Solving environment: failed with initial frozen solve. Retrying with flexible solve.
# Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
# Collecting package metadata (repodata.json): done
# Solving environment: failed with initial frozen solve. Retrying with flexible solve.
# Solving environment: -
# Found conflicts! Looking for incompatible packages.                                                                                                                                                                                        failed
# UnsatisfiableError:
# 更新conda
conda update -n base conda
conda update -all
# 修改频道 
conda config --add channels conda-forge
conda config --set channel_priority flexible
# 安装成功!
复制代码

 

posted @   YlnChen  阅读(32020)  评论(4编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· DeepSeek 开源周回顾「GitHub 热点速览」
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
点击右上角即可分享
微信分享提示