<div dir="ltr">Try running the following command<div><br></div><div>pip3 install -U gtk</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 4, 2019 at 8:45 AM Steven A. Falco <<a href="mailto:stevenfalco@gmail.com">stevenfalco@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The '>' symbols got mangled in my previous email, so here is a corrected email.<br>
<br>
This sequence fails to find gtk:<br>
<br>
saf$ python3<br>
Python 3.7.4 (default, Jul 9 2019, 16:32:37) <br>
[GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
>>> import gtk<br>
Traceback (most recent call last):<br>
File "<stdin>", line 1, in <module><br>
ModuleNotFoundError: No module named 'gtk'<br>
<br>
But this sequence works:<br>
<br>
saf$ python3<br>
Python 3.7.4 (default, Jul 9 2019, 16:32:37) <br>
[GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
>>> import gi<br>
>>> gi.require_version('Gtk', '3.0')<br>
>>> from gi.repository import Gtk<br>
>>><br>
<br>
Is there something that I need to install? I'm a complete python noob.<br>
<br>
Steve<br>
</blockquote></div>