Wednesday, December 1, 2010

from glib._glib import *ImportError: DLL load failed: The specified module could not be found.

So I was following the instructions on the pygtk website
http://www.pygtk.org/downloads.html
But I kept getting this annoying error. I knew I wasn't insane but couldn't figure out why this happened. I finally went to this page and followed the instructions to get pygtk working and it worked!
http://www.gramps-project.org/wiki/index.php?title=Windows_installer#Installation
Basically, the trick is to get the GTK runtime for windows at
http://gtk-win.sourceforge.net/home/index.php/en/Home
the other steps should be the same at pygtk.org but you can also follow all the instructions on this link and will work too. Good luck hacking up some code!