本文介绍了安装Python软件包:“当前Win-64频道中缺少软件包"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I want to install GSEApy on Anaconda (I use 64bit 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版本的频道.使用:

You need to use a channel that has a win-64 version. Use:

conda install -c bioninja gseapy

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

The option -c or --channel allows to specify a channel.You can also add a channel permanently via:

conda config --add channels bioninja

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

This creates a file .condarc in your home directory (on Windows C:\Users\<username>):

channels:
  - bioninja
  - defaults

您可以手动修改此文件.渠道的顺序决定了他们的优先次序.

You can modify this file manually. The order of the channels determinestheir precedence.

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

Note: Files with a leading . might not be displayedby certain file browsers. You might need to change settings to display thesefiles accordingly.

您可以通过搜索 Anaconda 来确定某个软件包是否退出了您的平台.只需在搜索字段中输入gseapy,您就会看到可用软件包. 平台"列显示是否存在"win-64"版本.

You can find out if a package exits for your platform by searching on Anaconda. Just type gseapy in the search field and you should see the available packages. The column "Platforms" shows if a "win-64" version exists.

这篇关于安装Python软件包:“当前Win-64频道中缺少软件包"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 23:50