Hi all,
I am having severe problems getting the GUI stuff from chapter 13 of the book to work. Has anyone been successful in installing GTK? I used an all in one Windows installer I found on the web (
http://aruiz.typepad.com/siliconisla...ne_win32_.html), but it still isn't working. Here is what I get when I run findgtk.py:
Code:
pyGTK not found. You need GTK 2 to run this.
Did you "export PYTHONPATH=/usr/local/lib/python2.2/site-packages/" first?
Perhaps you have GTK2 but not pyGTK, so I will continue to try loading.
Traceback (most recent call last):
File "findgtk.py", line 24, in try_import
import gtk,gtk.glade
File "c:\Python25\lib\site-packages\gtk-2.0\gtk\__init__.py", line 38, in <mod
ule>
import gobject as _gobject
ImportError: No module named gobject
I'm sorry, you apparently do not have GTK2 installed - I tried
to import gtk, gtk.glade, and gobject, and I failed.
pyGTK not found. You need GTK 2 to run this.
Did you "export PYTHONPATH=/usr/local/lib/python2.2/site-packages/" first?
Perhaps you have GTK2 but not pyGTK, so I will continue to try loading.
Traceback (most recent call last):
File "findgtk.py", line 24, in try_import
import gtk,gtk.glade
File "c:\Python25\lib\site-packages\gtk-2.0\gtk\__init__.py", line 38, in <mod
ule>
import gobject as _gobject
ImportError: No module named gobject
I'm sorry, you apparently do not have GTK2 installed - I tried
to import gtk, gtk.glade, and gobject, and I failed.
Any ideas how I sort this out?
Cheers,
Martin