I try install pygobject by pip
pip install --user PyGObject
but I doesn\'t work:
Collecting PyGObject
Using cached pygob
Since February 2017, you can install pygobject directly through pip: pip install pygobject. It requires some packages to be installed though.
Before that, it took a while, but it was possible to install pygobject with pip, since this commit.
pygobject wasn't on pypi though, so you had to specify the git or tarball URL:
git+https://git.gnome.org/browse/pygobjecthttps://download.gnome.org/sources/pygobject/3.22/pygobject-3.22.0.tar.xzThe latter only works with pygobject 3.22+, which should have happenned around mid-september 2016. (3.21.1 should be the first pip-installable development release)