3

尝试pip在 Python 3.4.3 上安装 MacroPy,但出现错误:

$ pip3 install MacroPy

Collecting MacroPy
  Downloading MacroPy-1.0.3.zip
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/private/var/folders/hq/r_l8wk257_71w4rtrkj5b7d80000gn/T/pip-build-10_id3bj/MacroPy/setup.py", line 62, in <module>
        from macropy import __version__
      File "/private/var/folders/hq/r_l8wk257_71w4rtrkj5b7d80000gn/T/pip-build-10_id3bj/MacroPy/macropy/__init__.py", line 23, in <module>
        import core.exporters
    ImportError: No module named 'core'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/hq/r_l8wk257_71w4rtrkj5b7d80000gn/T/pip-build-10_id3bj/MacroPy

系统是 OSX 10.10.3,来自 HomeBrew 的 Python。

编辑:在 Python 2.x 上安装工作正常。

4

1 回答 1

2

MacroPy 目前不支持 Python 3。就目前而言,将 macropy 移植到 Python 3存在一个未解决的问题,其中讨论了可能的方法和部分解决方案。但是,它现在不能开箱即用,看起来或多或少被遗弃了。

于 2016-11-24T14:14:06.950 回答