[pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle
Paul Goins
general at vultaire.net
Mon Nov 29 23:47:40 WST 2010
Okay, I got some time to follow through on all of your feedback.
First: turns out I already had MSVCR90.DLL. If I ran Dependency
Walker directly on the Python executable, the DLL was found and
resolved to:
C:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\MSVCR90.DLL
However, running it on _gtk.pyd, I get:
C:\Python26\Lib\site-packages\gtk-2.0\gtk\MSVCR90.DLL was not found.
I tried uninstalling and reinstalling all the Visual C++
redistributable files. (x86 versions, of course.) No luck.
I also tried removing all Python installations (via Add/Remove
programs plus removing the leftover c:\python26). I then installed
Python 2.7.1 (x86) plus the 2.7 versions of the PyGTK packages. Still
no luck: python.exe finds the DLL, while _gtk.pyd cannot.
I tried copying the DLL into my program's directory, into the python
directory, into various subdirectories of site-packages, into
site-packages\gtk-2.0\gtk... Nothing has yet allowed "import gtk" to
work.
I'm at a loss. Anyone have any other ideas?
Thanks again,
- Paul
More information about the pygtk
mailing list