[chirp_users] Trying chirpw with python3
David Boucha
Fri Oct 4 08:51:18 PDT 2019
Try running the following command
pip3 install -U gtk
On Fri, Oct 4, 2019 at 8:45 AM Steven A. Falco <stevenfalco at gmail.com>
wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_users/attachments/20191004/acca895a/attachment.html
More information about the chirp_users
mailing list