Gtk and python on Zorin

Hey, this is probably not the place for this kind of question but I am having trouble with following a tutorial on YouTube about the Glade software suite and python, i can't get import gi gi.require_version('Gtk', "3.0") gi.repository import Gtk as gtk to work it says that there is no module "Gtk" does anyone know if there is something I am missing? I can't seem to find much about it online...

Thanks, FailurePoint.

https://python-gtk-3-tutorial.readthedocs.io/en/latest/introduction.html

Thanks

Have you run

sudo apt install python3-gi

Yes, i got it working it was a problem with my IDE instead of Gtk3

you can close the thread if you want. Thanks for the help guys.

1 Like

Closed per O.P. request (and can be reopened by request of O.P. in future if the need arises.) Glad you got it solved.

1 Like