Python Conda:当前的 win-64 频道中缺少软件包

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/41289457/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 00:45:33  来源:igfitidea点击:

Conda: Package missing in current win-64 channels

pythonanacondaconda

提问by Adam

I'm new to python and anaconda, so please excuse any ignorance.

我是 python 和 anaconda 的新手,所以请原谅我的无知。

I'm trying to install keras using conda. I'm on windows 10 (win-64). I see that there's a win-64 package of keras @ 1.0.8, but when I go to install it, conda install -c jaikumarm keras=1.0.8, I get the following error:

我正在尝试使用 conda 安装 keras。我在 Windows 10 (win-64) 上。我看到有一个 keras @ 1.0.8 的 win-64 包,但是当我去安装它时conda install -c jaikumarm keras=1.0.8,我收到以下错误:

conda install -c jaikumarm keras=1.0.8
Fetching package metadata ...........
Solving package specifications: .


PackageNotFoundError: Package not found: '' Package missing in current win-64 channels:
  - keras 1.0.8*

You can search for packages on anaconda.org with

    anaconda search -t conda keras

When I search using the cli:

当我使用 cli 搜索时:

anaconda search -t conda keras
Using Anaconda API: https://api.anaconda.org
Run 'anaconda show <USER/PACKAGE>' to get more details:
Packages:
     Name                      |  Version | Package Types   | Platforms
     ------------------------- |   ------ | --------------- | ---------------
     CCXD/keras                |    1.1.1 | conda           | linux-64
     KEHANG/keras              |    1.0.8 | conda           | linux-64
                                          : Deep Learning for Python
     SentientPrime/keras       |    0.3.0 | conda           | linux-64, osx-64
                                          : Theano-based Deep Learning library
     alchayward/keras          |    0.1.2 | conda           | osx-64
                                          : Theano-based Deep Learning library
     alejandrito/keras         |    0.1.2 | conda           | linux-64, linux-32, osx-64
     anaconda/keras            |    1.1.1 | conda           | linux-64
     calex/keras               |    1.0.4 | conda           | osx-64
                                          : Deep Learning for Python
     conda-forge/keras         |    1.0.7 | conda           | linux-64, win-32, win-64, osx-64
     creditx/keras             |    1.1.0 | conda           | linux-64
     d_sivets/keras            |    1.0.6 | conda           | linux-64
     ddboline/keras            |   v0.0.1 | conda           | linux-64
     derickl/keras             |    1.1.1 | conda           | osx-64
     ericmjl/keras             |    0.3.1 | conda           | linux-64, osx-64
                                          : Theano-based Deep Learning library
     fbreuer/keras             |    1.0.5 | conda           | linux-64, osx-64
     jaikumarm/keras           |    1.0.8 | conda           | linux-64, win-32, win-64, linux-32, osx-64
                                          : Deep Learning for Python
     jori/keras                |    1.0.5 | conda           | osx-64
     kundajelab/keras          |    0.3.2 | conda           | linux-64, osx-64
                                          : Deep Learning for Python
     magonser/keras            |    0.3.1 | conda           | osx-64
                                          : Theano-based Deep Learning library
     markusli/keras            |    0.3.0 | conda           | linux-64
                                          : Theano-based Deep Learning library
     moutai/keras              |    1.0.6 | conda           | linux-64
     omnia/keras               |    0.3.2 | conda           | linux-64
                                          : Theano-based Deep Learning library
     richlewis/keras           |    0.3.0 | conda           | osx-64
                                          : Theano-based Deep Learning library
     wemeneker/keras           |    1.0.5 | conda           | linux-64
Found 23 packages

采纳答案by Mostafa

I had the same issue, you need to get the latest package from anaconda website, then copy the display command and execute it in anaconda prompt window. I have posted the details in step by step on my personal site.

我遇到了同样的问题,您需要从 anaconda 网站获取最新的包,然后复制 display 命令并在 anaconda 提示窗口中执行它。我已经在我的个人网站上逐步发布了详细信息。

回答by wllbll

from the search result you provided, it seems that jaikumarm/keras has win64 platform software, you can type

从你提供的搜索结果来看,jaikumarm/keras好像有win64平台的软件,你可以输入

anaconda show jaikumarm/keras 

and conda will prompt out the install channel and command for you

conda 会为你提示安装频道和命令