[pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle
Dieter Verfaillie
dieterv at optionexplicit.be
Sun Nov 28 22:04:17 WST 2010
Quoting "Dieter Verfaillie" <dieterv at optionexplicit.be>:
> Quoting "Paul Goins" <general at vultaire.net>:
>> C:\code\projects\jben>c:\python26\python
>> Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32
>> bit (Intel)] on win32
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import gtk
>> Traceback (most recent call last):
>> File "<stdin>", line 1, in <module>
>> File "c:\python26\lib\site-packages\gtk-2.0\gtk\__init__.py",
>> line 40, in <module>
>> from gtk import _gtk
>> ImportError: DLL load failed: 指定されたプロシージャが見つかりません。
>> (Translation: DLL load failed: The specified procedure could not
>> be found.)
Another important point: if dependency walker reports a single missing .dll
file (libgio-2.0-0.dll is a likely candidate), you've got a good chance that
a different directory on your PATH contains an older gtk+ runtime.
In that case you should check the properties of one of the other dll files.
Right click LIBGLIB-2.0-0.DLL in the dependency tree and click properties.
Then check the Location field. If it is not C:\gtk_bundle\bin you'll need
to fix your PATH environment variable.
mvg,
Dieter
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the pygtk
mailing list