[pygtk] PyGTK fails to load

Adiv orion1992_12 at yahoo.com
Mon Jun 2 10:49:02 WST 2008


My PyGTK is failing to load. It seems to think it may be missing a component or something. I have tried reinstalling it, using slightly older versions, etc, to no avail. It works fine on the laptop, so I don't know what's wrong. Any ideas for solving this?

IDLE 1.2.2      
>>> import pygtk
>>> pygtk.require('2.0')
>>> import gtk

Traceback (most recent call last):
  File "<pyshell#2>", line 1, in <module>
    import gtk
  File "C:\Python25\Lib\site-packages\gtk-2.0\gtk\__init__.py", line 38, in <module>
    import gobject as _gobject
  File "C:\Python25\lib\site-packages\gtk-2.0\gobject\__init__.py", line 30, in <module>
    from gobject.constants import *
  File "C:\Python25\lib\site-packages\gtk-2.0\gobject\constants.py", line 22, in <module>
    from _gobject import type_from_name
ImportError: DLL load failed: The specified procedure could not be found.
>>> 


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20080601/394f9d20/attachment.htm


More information about the pygtk mailing list