[Ac] ImportError: No module named gtk
wrobell
wrobell at pld-linux.org
Tue Jan 18 12:49:01 CET 2005
On Tue, Jan 18, 2005 at 12:06:06PM +0100, Marcin Krzyzanowski wrote:
> 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
What shows "import gtk" after "python -v"?
wrobell <wrobell at pld-linux.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /mailman/pipermail/pld-devel-en/attachments/20050118/278035bf/attachment-0002.bin
More information about the pld-devel-en
mailing list