ImportError: No module named gtk


3 posts
by Fox3 » Fri May 03, 2013 2:34 am
Hi Folks,

Attempting to run something called chirp on the pi, but it wants a library for GTK stuff.

I've putzed with it trying various things dug out of google to no avail :-(.

This is what I get when trying to run it:
Code: Select all
pi@raspberrypi ~/chirp/chirp-daily-20130430 $ ./chirpw
CHIRP daily-20130430 on Linux - Debian GNU/Linux 7.0 (Python 2.7.3)
Traceback (most recent call last):
  File "./chirpw", line 91, in <module>
    import gtk
ImportError: No module named gtk
pi@raspberrypi ~/chirp/chirp-daily-20130430 $

Any suggestions or pointers would be greatly appreciated!

Thanks, Fox3.
Posts: 2
Joined: Fri May 03, 2013 12:54 am
by gkreidl » Fri May 03, 2013 7:27 am
sudo apt-get install python-gtk2

maybe other modules will also be required. Then you'll see other error messages when starting the program.
Minimal Kiosk Browser
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer
Posts: 1288
Joined: Thu Jan 26, 2012 1:07 pm
by Fox3 » Fri May 03, 2013 8:28 pm
Thanks for the help! MUCH appreciated.

All is well now!
Posts: 2
Joined: Fri May 03, 2013 12:54 am