【问题标题】:Using Chaco in Python 3.6 (Anaconda)在 Python 3.6 (Anaconda) 中使用 Chaco
【发布时间】:2017-09-16 03:39:06
【问题描述】:

我在这里是因为我尝试在 Anaconda 上安装 Chaco 模块,但它不起作用。首先我尝试了简单的命令:

conda install -c anaconda chaco=4.5.0

但它返回包规范问题:

UnsatisfiableError: The following specifications were found to be in conflict:
  - chaco 4.5.0* -> enable 4.5.1 -> numpy 1.10* -> python 2.7* -> openssl 1.0.1*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package

然后我尝试使用 Python 2.7 版本的 Anaconda,但由于 PyQt5 而被卸载的 PyQt4 仍然存在问题。 我在 PyQt4 中创建了一个环境,但仍未找到该模块。 我希望我可以在 Python 3.6 中使用 Chaco,但我不知道该怎么做...

【问题讨论】:

  • 你设法让它工作了吗?

标签: python pyqt anaconda chaco


【解决方案1】:

Anaconda 目前不提供适用于 Python 3 的 Chaco 包。Anaconda 支持的最新版 Chaco 是 4.5:https://anaconda.org/anaconda/chaco

正如您在此处看到的,Python 3 支持直到 2016 年 12 月的 4.6 版才添加到 Chaco:https://github.com/enthought/chaco/releases/tag/4.6.0

您可以使用pip install chaco 在 Python 3.6 中安装 Chaco,但您还需要 numpy、setuptools、enable 和可能的 Visual Studio。

我不确定您为什么在 Python 2.7 Anaconda 环境中安装 Chaco 时遇到困难,但 Enable 不支持 PyQt 5,您必须使用 PyQt 4:https://github.com/enthought/enable#prerequisites

【讨论】:

  • 有谁知道 Continuum 是否有计划将 Chaco v4.6 带入 Anaconda 折叠?
猜你喜欢
  • 1970-01-01
  • 2017-08-17
  • 1970-01-01
  • 1970-01-01
  • 2017-08-18
  • 2018-07-20
  • 2018-04-10
  • 2018-08-06
相关资源
最近更新 更多