Conda 安装无花果树
Conda install Figtree
在 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 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
也许这只是我的问题,但这不是一条无用的信息吗? Output in format: Requested package -> Available versions
是什么意思?他们只是想刻薄吗?
我不应该在别处寻找答案吗?在这里问不对
最重要的是:以后我该如何解决这个问题和类似问题?有或没有 Anaconda
Bioconda 有 channel configuration settings 用户需要遵循这些内容才能从 Bioconda 包中获得预期的行为,包括解决安装问题。特别是,用户应该有 conda-forge > bioconda > defaults。这可能是影响安装的原因,因为 figtree
具有 xorg-libxtst
作为依赖项并且仅在 Conda Forge 上。
如果您想临时(如在 OP 中),模仿其推荐设置的命令将是
conda install --override-channels -c conda-forge -c bioconda -c defaults figtree
其中频道的顺序定义了它们的优先级。
但是,通常更好的做法是全局配置(Bioconda 文档显示的内容)或在 per-environment 基础上(对于具有不同项目的用户):
# activate environment
conda activate my_env
# set channels for environment
conda config --env --add channels defaults
conda config --env --add channels bioconda
conda config --env --add channels conda-forge
# no need to use ad hoc `-c` flags
conda install figtree
在 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 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
也许这只是我的问题,但这不是一条无用的信息吗? Output in format: Requested package -> Available versions
是什么意思?他们只是想刻薄吗?
我不应该在别处寻找答案吗?在这里问不对
最重要的是:以后我该如何解决这个问题和类似问题?有或没有 Anaconda
Bioconda 有 channel configuration settings 用户需要遵循这些内容才能从 Bioconda 包中获得预期的行为,包括解决安装问题。特别是,用户应该有 conda-forge > bioconda > defaults。这可能是影响安装的原因,因为 figtree
具有 xorg-libxtst
作为依赖项并且仅在 Conda Forge 上。
如果您想临时(如在 OP 中),模仿其推荐设置的命令将是
conda install --override-channels -c conda-forge -c bioconda -c defaults figtree
其中频道的顺序定义了它们的优先级。
但是,通常更好的做法是全局配置(Bioconda 文档显示的内容)或在 per-environment 基础上(对于具有不同项目的用户):
# activate environment
conda activate my_env
# set channels for environment
conda config --env --add channels defaults
conda config --env --add channels bioconda
conda config --env --add channels conda-forge
# no need to use ad hoc `-c` flags
conda install figtree