Linux 康达安装Figtree
在Linux上使用Anaconda,我尝试了以下方法:Linux 康达安装Figtree,linux,anaconda,package,conda,phylogeny,Linux,Anaconda,Package,Conda,Phylogeny,在Linux上使用Anaconda,我尝试了以下方法: conda install -c bioconda figtree 但它给了我这个: Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with
conda install -c bioconda figtree
但它给了我这个:
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.
This can take several minutes. Press CTRL-C to abor/
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
也许只是我,但这不是一个无用的信息吗?格式输出:请求的包->可用版本是什么意思?他们只是想卑鄙吗
我不应该在别处寻找答案吗?在这里提问是不对的
最重要的是:我将来如何解决这个和类似的问题?无论是否使用Anaconda,Bioconda都有用户需要遵守的规定,以便从Bioconda软件包中获得预期行为,包括解决安装问题。特别是,用户应具有conda forgebioconda默认值。这可能是影响安装的原因,因为figtree
将xorg libxtst
作为依赖项,并且仅在Conda Forge上
如果您想临时执行此操作(如在OP中),将模拟其建议设置的命令如下
conda安装--覆盖通道-c conda forge-c bioconda-c defaults figtree
其中通道的顺序定义了它们的优先级
然而,通常更好的做法是在全球范围内(Bioconda文档所示)或在每个环境的基础上(针对具有多种项目的用户)配置:
#激活环境
康达激活我的环境
#为环境设置频道
conda config--env--添加通道默认值
conda config--env--添加通道
conda config--env--addchannels conda forge
#不需要使用特别的`-c`标志
康达安装figtree
我也遇到了类似的问题,但您的解决方案对我不起作用。@AngusCampbell您还需要将频道优先级设置为strict。否则,问一个新问题,你到底试过什么。