from gi._glib._glib import GError does work as well