【问题标题】:conda install matplotlib's natgrid python toolkit on windows 64conda 在 windows 64 上安装 matplotlib 的 natgrid python 工具包
【发布时间】:2017-03-30 11:15:57
【问题描述】:

尝试通过 Anaconda 在 Windows 64 上安装 natgrid matplotlib 工具包 (https://github.com/matplotlib/natgrid)。

我只能找到一个受 Windows 支持的软件包,这里是 https://anaconda.org/rios/natgrid

当我运行conda install -c rios natgrid=0.2 它返回PackageNotFoundError: Package not found: Conda could not find '

有人知道导致错误的原因吗,是否有其他软件包或解决方法可以让我在 Windows 上的 Anaconda python 发行版中使用 natgrid 工具包?

【问题讨论】:

  • 您尝试过 conda update 吗?在终端conda update conda
  • 感谢@Dadep - 我已经完成了这项工作,现在得到了UnsatisfiableError: 而不是PackageNotFoundError:,这揭示了natgrid 包的python 版本控制问题。不过,至少这个错误给了我一些东西。
  • 你确定 anaconda 安装正确吗?

标签: python windows matplotlib anaconda conda


【解决方案1】:

你可以尝试更新 conda :conda update conda

您也可以直接从以下位置下载文件:

https://anaconda.org/rios/natgrid/files

您可以使用替代 pip install :

python -m pip install .\natgrid-0.2.1-cp27-none-win_amd64.whl

或者这个post的替代方案:

conda install -c jochym natgrid=0.2

【讨论】:

  • 谢谢,但我认为 jochym 包仅适用于 Linux。我在发布之前尝试了 pip install 方法,但它说它“不是这个平台上支持的轮子”。但是,自从升级到 python 3.6 pip install 似乎已经成功了。
【解决方案2】:

这对我有用(win64 和 conda):

conda install -c rios natgrid 

来自here

【讨论】:

    猜你喜欢
    • 2016-07-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多