[Ac] ImportError: No module named gtk
Marcin Krzyzanowski
krzak at hakore.com
Tue Jan 18 12:06:06 CET 2005
Hi,
where is gtk python module ?
$ rpm -q python-pygtk-gtk python
python-pygtk-gtk-2.4.1-4
python-2.4-3
$ /usr/lib/blog_applet.py
Traceback (most recent call last):
File "/usr/lib/blog_applet.py", line 5, in ?
import gtk
ImportError: No module named gtk
#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk
--
Marcin Krzyżanowski
More information about the pld-devel-en
mailing list