本文介绍了Python无法安装PyGObject的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试通过pip安装pygobject
I try install pygobject by pip
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上工作
My python version v3.5.0:374f501f4567,Now I work on windows 7
推荐答案
上游PyGObject不支持此功能.参见 PyGObject win32 项目或 MSYS2 项目即可轻松获得.
Upstream PyGObject just does not support this. See the PyGObject win32 project or the MSYS2 project to get it easily.
这篇关于Python无法安装PyGObject的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!