[pygtk] ImportError: No module named gobject

Marco Antonio Islas Cruz markuz at islascruz.org
Thu Dec 27 10:06:29 WST 2007


I guess you don't know, but gobject is now separated from pygtk, if you
compile pygtk by yourself, then you must compile gobject by yourself
too.

Get it from here: http://pygtk.org/downloads.html

Don't forget to compile PyCairo too.


On Wed, 2007-12-26 at 16:20 -0800, Alex Ivanov wrote:
> Hi. Maybe it is weird or unimportant, I can't install pygtk on Debian
> Etch. I compiled it from source. When I try pygtk-demo, I get the
> error:
> $ /opt/applications/bin/pygtk-demo 
> Traceback (most recent call last):
>   File "/opt/applications/bin/pygtk-demo", line 7, in ?
>     execfile(os.path.join(pygtklibdir, "pygtk-demo.py"))
>   File "/opt/applications/lib/pygtk/2.0/pygtk-demo.py", line 18, in ?
>     import gobject
> ImportError: No module named gobject
> 
> But I don't have any gobject on my machine. Where can I get one?
> Thanks. Alex.
>  
> 
> ______________________________________________________________________
> CANADA-11 at http://canada-11.com is the BEST FREE EMAIL IN THE
> WORLD. 
> Access WORLD WIDE.
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
-- 
<--Linux... Because I'm Free-->
Marco Antonio Islas Cruz
"Markuz"
Linux User #280229
markuz at islascruz.org
markuz at unixmexico.org
markuz at linuxpozarica.com
marco.islas at gmail.com
islacruz at yahoo.com
http://www.islascruz.org
http://sourceforge.net/projects/gpkg/
http://www.linuxpozarica.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20071226/8b736b20/attachment.pgp


More information about the pygtk mailing list