The '>' symbols got mangled in my previous email, so here is a corrected email.
This sequence fails to find gtk:
saf$ python3 Python 3.7.4 (default, Jul 9 2019, 16:32:37) [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux Type "help", "copyright", "credits" or "license" for more information.
import gtk
Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'gtk'
But this sequence works:
saf$ python3 Python 3.7.4 (default, Jul 9 2019, 16:32:37) [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux Type "help", "copyright", "credits" or "license" for more information.
import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk
Is there something that I need to install? I'm a complete python noob.
Steve