[PythonCAD] No module named gobject

Vrijkotte Johannes jvrijkotte at sopragroup.com
Tue Mar 6 15:16:30 CET 2007


hello,
I've installed pygtk 2.6.3 with notably glib-2.8.1 and gtk-2.6.10 but I can't get it to work.
The gtk-demo application works OK but the pygtk-demo gives : 
--------
Traceback (most recent call last):
  File "/home/st12675/tools//PYGTK/2.6.3/solaris2.8/bin/pygtk-demo", line 7, in ?
    execfile(os.path.join(pygtklibdir, "pygtk-demo.py"))
  File "/home/st12675/tools//PYGTK/2.6.3/solaris2.8/lib/pygtk/2.0/pygtk-demo.py", line 18, in ?
    import gobject
ImportError: No module named gobject
--------
I don't understand python very well but libgobject2-0.so came with glib which I referenced in both PYTHONPATH and LD_LIBRARY_PATH 
What am I doing wrong?

Thanks for your help
    chriss
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythoncad/attachments/20070306/145fd016/attachment.htm 


More information about the PythonCAD mailing list