[pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle
Stephen George
steve_geo at optusnet.com.au
Mon Nov 29 08:13:37 WST 2010
Hi Paul,
MSVCR90.DLL is a requirement for many applications. (built with
Microsoft Visual C++)
See Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a5c84275-3b97-4ab7-a40d-3802b2af5fc2
I think MSVCR90.DLL is a dependency of pyGTK, your old pyGTK you where
running probably had a dependency for an old version of the MS C
Runtime, which would still be installed on your HD somewhere, but just
not compatible with the new pyGTK.
See if installing the MS runtime above fixes your problem.
Steve
On 29/11/2010 10:47 AM, Paul Goins wrote:
> 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
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
>
More information about the pygtk
mailing list