[pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle

Dieter Verfaillie dieterv at optionexplicit.be
Sun Nov 28 21:41:44 WST 2010


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.)

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...

mvg,
Dieter

[1] http://www.dependencywalker.com/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


More information about the pygtk mailing list