无法在mac上安装PyGObject

时间:2016-12-09 23:53:40

标签: python pycharm

我在尝试在mac上安装PyGObject时遇到问题:

Collecting PyGObject
  Using cached pygobject-2.28.3.tar.bz2
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/pb/4p0s32g54dl1vg3s25kch71w0000gn/T/pycharm-packaging/PyGObject/setup.py", line 272
        raise SystemExit, 'ERROR: Nothing to do, gio could not be found and is essential.'
                        ^
    SyntaxError: invalid syntax

The Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/pb/4p0s32g54dl1vg3s25kch71w0000gn/T/pycharm-packaging/PyGObject/

这是我回来的。我有Python 3,我使用PyCharm。我试图安装PyGObject,但我无法使其工作。我尝试了几种方法但没有任何效果。有人能帮帮我吗?

0 个答案:

没有答案