安装 Python 软件包:"Package missing in current win-64 channels"

Install Python package: "Package missing in current win-64 channels"

我想在 Anaconda 上安装 GSEApy(我使用 64 位 Windows 10)。
https://bioconda.github.io/recipes/gseapy/README.html
https://anaconda.org/bioconda/gseapy

但是我得到这个错误:

C:\Windows\system32>conda install gseapy

Using Anaconda Cloud api site https:// api.anaconda.org
Fetching package metadata ...........
Solving package specifications: .
Error: Package missing in current win-64 channels:
  - gseapy

You can search for packages on anaconda.org with
anaconda search -t conda gseapy

我该如何解决这个问题?

您需要使用具有 win-64 版本的频道。使用:

conda install -c bioninja gseapy

选项-c--channel允许指定频道。 您还可以通过以下方式永久添加频道:

conda config --add channels bioninja

这会在您的主目录中创建一个文件 .condarc(在 Windows C:\Users\<username>):

channels:
  - bioninja
  - defaults

您可以手动修改此文件。通道的顺序决定 他们的优先级。

注意:前导.的文件可能不会显示 通过某些文件浏览器。您可能需要更改设置才能显示这些 相应的文件。

您可以通过搜索 Anaconda. Just type gseapy in the search field and you should see the available packages 来了解您的平台是否存在软件包。 "Platforms" 列显示是否存在 "win-64" 版本。

现在你可以通过 bioconda 安装最新的 gseapy,到

conda install -c bioconda gseapy 

可能需要你指定一个详细的版本,这样你就可以在Anaconda Cloud中找到一个支持你的环境的版本,就像"conda install -c dhirschfeld protobuf=3.0.0a3.post418+g0cb84ee "这样的一行命令,我select this and it有效。

从 Anaconda 分发网站查看最新版本的 Keras

https://anaconda.org/search?q=keras

使用命令:

conda install -c conda-forge keras=<version>