Running pygtk app under windows.

Sebastian Alonso alon.sebastian at
Tue Aug 17 01:45:52 CEST 2010

   Hey everyone, I'm trying to be able to run my app, which uses pygtk,
under windows, but unfortunately I'm having big problems with it. The main
purpose of this is to later on make an .exe file but i havent even been able
to run the app at least.

    I've followed every single step from this faq and when i try to
run the example the example they offer I get this:

"Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import gtk
  File "C:\Python26\lib\site-packages\gtk-2.0\gtk\", line 30, in
    import gobject as _gobject
  File "C:\Python26\lib\site-packages\gtk-2.0\gobject\", line 26,
in <module>
    from glib import spawn_async, idle_add, timeout_add,
timeout_add_seconds, \
  File "C:\Python26\lib\site-packages\gtk-2.0\glib\", line 22, in
    from glib._glib import *
ImportError: DLL load failed: Specified module cannot be found."

    Do you have any clue on what could be happening ? I've tried most of the
things you would expect to make anything work on windows, reboot, unistall
everything and re-install everything again, yet it wont work...

Thanks in advanced.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list