Python无法安装PyGObject

问题描述 投票:8回答:4

我尝试通过pip安装pygobject

pip install --user 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 20, in <module>
      File "C:\Users\A\AppData\Local\Temp\pip-build-phby_jwb\PyGObject\
setup.py", line 272
        raise SystemExit, 'ERROR: Nothing to do, gio could not be found and is
 essential.'
                        ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\A\AppData\Local\Temp\pip-build-phby_jwb\PyGObject

我的python版本v3.5.0:374f501f4567,现在我在Windows 7上工作

python windows python-3.x pip pygobject
4个回答
2
投票

7
投票

2
投票

0
投票
© www.soinside.com 2019 - 2024. All rights reserved.