我想在mac OSX上为 python3 安装pygobject
pip3 install pygobject
它引发了以下错误:
$ pip3 install 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/xxxx/pip-build-m79wzagx/pygobject/setup.py", line 272
raise SystemExit, 'ERROR: Nothing to do, gio could not be found and is essential.'
如何解决此错误?
答案 0 :(得分:2)
这个python3 pygobject包需要 pygobject3 ,首先在Mac OSX上安装pygobject3:
$ brew install pygobject3 --with-python3
$ pip3 install pygobject