我尝试通过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上工作
最佳答案
上游PyGObject不支持此功能。请参阅PyGObject win32项目或MSYS2项目以轻松获得它。
关于Python无法安装PyGObject,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/33862049/