[pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle
Paul Goins
general at vultaire.net
Mon Nov 29 07:47:50 WST 2010
On 11/28/2010 10:41 PM, Dieter Verfaillie wrote:
> Quoting "Paul Goins" <general at vultaire.net>:
>> [...]
>> from gtk import _gtk
>> ImportError: DLL load failed: 指定されたプロシージャが見つかりません。
>> (Translation: DLL load failed: The specified procedure could not be found.)
>
> Try opening c:\python26\python\site-packages\gtk-2.0\gtk\_gtk.pyd with
> Dependency Walker [1]. It will tell you what .dll file is missing...
Thanks. It seems I have new dependencies which did not exist with the
previous version. (I deleted the old versions of gtk/pygtk
completely, so I don't know what version they were, unfortunately.)
Dependency walker image is here:
http://www.vultaire.net/mail_attachments/_gtk.dwi
Basically, I get 3 DLLs missing, and the immediately relevant part of
the dependency walker image looks like this:
(?) MSVCR90.DLL
Error opening file. 指定されたプロシージャが見つかりません。(2)
Dependency chain: _GTK.PYD/MSVCR90.DLL
(Hourglass/?) GPSVC.DLL
Error opening file. 指定されたプロシージャが見つかりません。(2)
Dependency chain: _GTK.PYD/LIBCAIRO-2.DLL/USER32.DLL/ADVAPI32.DLL/WINTRUST.DLL/CRYPT32.DLL/USERENV.DLL/GPSVC.DLL
(Hourglass/?) IESHIMS.DLL
Error opening file. 指定されたプロシージャが見つかりません。(2)
Dependency chain: _GTK.PYD/LIBCAIRO-2.DLL/USER32.DLL/ADVAPI32.DLL/WINTRUST.DLL/CRYPT32.DLL/USERENV.DLL/SHELL32.DLL/SHDOCVW.DLL/IEFRAME.DLL/IESHIMS.DLL
Seems at the least there's a Visual Studio dependency in MSVCR90.DLL.
I can grab a copy somewhere of this; not a big deal. The other stuff
seems like it's only "maybe" required.
Anyway, this wasn't a GTK dependency at all in this case. Perhaps the
wiki should be updated?
- Paul
More information about the pygtk
mailing list