无法在conda环境中安装bioconda软件包

时间:2018-01-25 10:47:16

标签: python anaconda packages environment conda

我正在尝试从anaconda的Bioconda频道安装一些软件包,但即使添加了频道,我也会遇到以下错误:

C:\Users\matti>conda install -c bioconda pybedtools
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - pybedtools

Current channels:

  - https://conda.anaconda.org/bioconda/win-64
  - https://conda.anaconda.org/bioconda/noarch
  - https://conda.anaconda.org/conda-forge/win-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.continuum.io/pkgs/main/win-64
  - https://repo.continuum.io/pkgs/main/noarch
  - https://repo.continuum.io/pkgs/free/win-64
  - https://repo.continuum.io/pkgs/free/noarch
  - https://repo.continuum.io/pkgs/r/win-64
  - https://repo.continuum.io/pkgs/r/noarch
  - https://repo.continuum.io/pkgs/pro/win-64
  - https://repo.continuum.io/pkgs/pro/noarch
  - https://repo.continuum.io/pkgs/msys2/win-64
  - https://repo.continuum.io/pkgs/msys2/noarch
  - https://conda.anaconda.org/daler/win-64
  - https://conda.anaconda.org/daler/noarch
  - https://conda.anaconda.org/anaconda-fusion/win-64
  - https://conda.anaconda.org/anaconda-fusion/noarch

对于像bowtie2这样的其他bioconda软件包也会发生这种情况。我已经尝试过普通的pip install和easy_install,但这些都不起作用。有任何想法吗?

2 个答案:

答案 0 :(得分:1)

从您的命令行看,您在Windows上。在bioconda上有几个pybedtools的版本,但是,如果我通过它们,它们都是用于linux平台的。

如果你使用的是Windows 10,你可以考虑设置'windows subsystem for linux'(可能还有Xming),安装conda,然后安装pybedtools。这显然是一个冗长的方法,但会打开许多​​bioconda包给你

答案 1 :(得分:0)

您是否尝试过以下命令?

conda install --channel bioconda/label/bioconda-utils-test package

conda install -c conda-forge python-utils