Erro "Não foi possível encontrar nenhum typelib para Gtk" com Python3 e GTK3
Não consigo fazer o Python3 funcionar com o GTK3. Estou em um contexto de cluster e tive tudo recompilado a partir das fontes.
Quando executo um exemplo simples:
from gi.repository import Gtk
win = Gtk.Window()
win.connect("delete-event", Gtk.main_quit)
win.show_all()
Gtk.main()
Eu tenho o seguinte erro:
ERROR:root:Could not find any typelib for Gtk Traceback (most recent call last): File "gtk3_example.py", line 2, in from gi.repository import Gtk ImportError: cannot import name 'Gtk'