【问题标题】:Error in installing a conda package安装 conda 包时出错
【发布时间】:2017-01-03 11:45:47
【问题描述】:

我正在尝试安装 conda 包 (macs2)。我已经安装了 conda,为了确保它已安装,我输入了:

conda list

我安装了软件包,所以安装了 conda。

然后我尝试了这个命令来安装macs2:

conda create --name macs macs2

这是错误:

PackageNotFoundError: Package not found: '' Package missing in current linux-64 channels: 
  - macs2

You can search for packages on anaconda.org with

    anaconda search -t conda macs2

我有 Ubuntu 64。

【问题讨论】:

    标签: ubuntu conda


    【解决方案1】:

    您需要指定下载包的渠道。默认情况下,搜索中只包含defaults 频道,因此您必须添加-c--channel 选项并添加正确的频道。在Anaconda.org 上搜索显示正确的频道是bioconda 频道,因此以下应该可以工作:

    conda create -n macs -c bioconda macs2
    

    您可能需要查看 Bioconda 的文档:https://bioconda.github.io/#set-up-channels

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-09-19
      • 1970-01-01
      • 1970-01-01
      • 2020-08-28
      • 2021-06-28
      • 2018-04-06
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多