代码之家  ›  专栏  ›  技术社区  ›  Matthijs van Kesteren

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

  •  1
  • Matthijs van Kesteren  · 技术社区  · 7 年前

    我正试图从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
    

    其他bioconda软件包(如bowtie2)也会出现这种情况。我已经尝试了常规的pip安装和easy\u安装,但这些都不起作用。有什么想法吗?

    2 回复  |  直到 7 年前
        1
  •  3
  •   Russ Hyde    7 年前

    从命令行可以看出您在windows上。有几个版本 pybedtools 然而,在bioconda上,如果我浏览一下,它们都是针对linux平台的。

    如果您使用的是Windows 10,您可以考虑设置“linux Windows子系统”(可能还有Xming),安装conda,然后安装 pybedtools公司 . 这显然是一个冗长的方法,但会为您打开许多bioconda软件包

        2
  •  0
  •   serv-inc    7 年前

    您是否尝试了以下命令?

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

    conda install -c conda-forge python-utils