Import Gtk/glib Produces Importerror: Dll Load Failed
Solution 1:
I got a work around this by installing the windows GTK+ runtime as indicated in this link http://www.gramps-project.org/wiki/index.php?title=Windows_installer#Installation
Also see their page dedicated to troubleshooting import errors on windows: http://www.gramps-project.org/wiki/index.php?title=ImportError:_DLL_load_failed
Solution 2:
I managed to solve this myself. Firstly, there can be more than one cause so this may not help everyone.
I went through the PATH
system environment variable and removed all paths that pointed to old versions of gtk+ (for example, those that come packaged with applications).
Solution 3:
Same problem, answer was to reinstall pygtk from grampy page. It was problem of pygtk, not system or gtk. (Before this, import pygtk works well)
Solution 4:
I had this same exact problem on Windows 7 64. I tried installing multiple versions of python 2.6, and the all-in-one pygtk that is supposed to give you GTK+ also. This installer didn't seem to do anything. Then I installed the latest versions of GTK+ (from binary), pygtk, pycairo, and gobject (all explained on the pygtk downloads website). When I did this, I got the ImportError: DLL load failed: The specified procedure could not be found.
that is given above.
The SOLUTION was to uninstall pygtk, pycairo, gobject and remove the GTK+ bin location from my path variable. Then I went here and did the first 5 steps (in that order) under "Dependencies - The Hard Way". And now it works. Note: I didn't install gramps, just the pygtk part (first 5 steps).
Solution 5:
Some reports indicate that the trick is to import pygtk
first. Have you tried that?
Post a Comment for "Import Gtk/glib Produces Importerror: Dll Load Failed"