0

我在这里是因为我尝试在 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,但我不知道该怎么做......

4

1 回答 1

0

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

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

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

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

于 2017-09-15T18:53:28.357 回答