【问题标题】:Unable to install bioconda packages in conda environments无法在 conda 环境中安装 bioconda 包
【发布时间】:2018-07-04 14:13:45
【问题描述】:

我正在尝试从 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 install 和 easy_install 但它们也不起作用。有任何想法吗?

【问题讨论】:

    标签: python anaconda packages environment conda


    【解决方案1】:

    您尝试过以下命令吗?

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

    conda install -c conda-forge python-utils
    

    【讨论】:

    • 第一个命令给出了同样的问题,第二个命令有效,但之后仍然没有成功安装 pybedtools :(
    • 你试过 conda install -c bioconda pybedtools
    【解决方案2】:

    从您的命令行显示您在 Windows 上。 bioconda 上有几个pybedtools 的版本,但是,如果我通过它们 grep,它们都是针对 linux 平台的。

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

    【讨论】:

    • 天哪,我早该想到的……现在至少我可以停止尝试让它工作了,谢谢你的信息
    猜你喜欢
    • 2020-08-18
    • 1970-01-01
    • 1970-01-01
    • 2021-08-04
    • 1970-01-01
    • 2022-01-01
    • 1970-01-01
    • 2018-12-29
    • 1970-01-01
    相关资源
    最近更新 更多