Failed to build PyGobject


Thanks for sharing. I’m trying to install tryton on ubuntu 18. When I run the command to install the tryton client “pip3 install tryton”, the system returns a error saying "

   ERROR: Failed building wheel for PyGObject
   Running clean for PyGObject
   Failed to build PyGObject
   ERROR: Could not build wheels for PyGObject which use PEP 517 and cannot be installed directly

I’m wondering if you had this error before and how do you resolve it?



Building PyGObject from pip requires a lot of dependencies like GObject, Gtk etc.
It is usually better and simpler to use the distribution package of PyGObject.