OSX 10.13.2上的pyethapp安装问题

时间:2017-12-11 13:10:31

标签: macos python-2.7

在OSX 10.13.2上的虚拟环境中安装pyethapp,具有以下属性:

  • Python 2.7.14 pip(9.0.1)setuptools(38.2.4)wheel(0.30.0)

并收到以下错误消息:

Collecting pyethapp
  Using cached pyethapp-1.5.0-py2.py3-none-any.whl
Collecting ethereum>=1.5.1 (from pyethapp)
  Using cached ethereum-2.2.0.tar.gz
    Complete output from command python setup.py egg_info:
    error in ethereum setup command: 'tests_require' must be a string or list of strings containing valid project/version requirement specifiers; Unordered types are not allowed

知道如何解决这个问题吗?

1 个答案:

答案 0 :(得分:5)

我在Arch Linux上遇到同样的问题。

看起来setup.py tests_require使用了setuptools > 38.0中不支持的集合。

应该是。

pip install setuptools==37

这个技巧对我有用。

问候。

相关问题