[pygtk] DLL load errors with Py2.6, PyGTK 2.22 and GTK 2.22 bundle
Paul Goins
general at vultaire.net
Sun Nov 28 21:22:48 WST 2010
Hello,
I recently upgraded my GTK/PyGTK installation due to some missing API
calls. However, since doing so I now am now unable to run my PyGTK
application.
Running through the testing instructions on the FAQ
(http://faq.pygtk.org/index.py?req=show&file=faq21.001.htp):
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.)
As far as I can tell, I'm meeting the specified requirements. System
details are listed below.
Does anyone have any ideas on how to get this going? Thanks in
advance.
- Paul Goins
----------------------------------------------------------------------
System environment
------------------
OS: Windows 7 64-bit Japanese
Python version: 2.6.4 32-bit (as seen above)
GTK libraries/binaries installed:
11/28/2010 09:43 PM 24,333,636 gtk+-bundle_2.22.0-20101016_win32.zip
PyGTK packages installed:
11/28/2010 05:58 PM 875,558 pygtk-2.22.0.win32-py2.6.exe
11/28/2010 05:58 PM 221,101 pycairo-1.8.10.win32-py2.6.exe
11/28/2010 05:58 PM 450,396 pygobject-2.26.0.win32-py2.6.exe
The GTK libs were installed to C:\gtk_bundle, and C:\gtk_bundle was
added to my PATH. The below command line session shows this was done
correctly:
C:\Users\Vultaire\Downloads>dir c:\gtk_bundle
ドライブ C のボリューム ラベルは Windows です
ボリューム シリアル番号は A0E4-0776 です
c:\gtk_bundle のディレクトリ
11/28/2010 09:44 PM <DIR> .
11/28/2010 09:44 PM <DIR> ..
11/28/2010 09:44 PM <DIR> bin
11/28/2010 09:44 PM <DIR> etc
10/16/2010 07:27 PM 1,187 gtk+-bundle_2.22.0-20101016_win32.README.txt
11/28/2010 09:44 PM <DIR> include
11/28/2010 09:44 PM <DIR> lib
11/28/2010 09:44 PM <DIR> man
11/28/2010 09:44 PM <DIR> manifest
11/28/2010 09:44 PM <DIR> share
11/28/2010 09:44 PM <DIR> src
1 個のファイル 1,187 バイト
10 個のディレクトリ 65,878,736,896 バイトの空き領域
C:\Users\Vultaire\Downloads>echo %PATH%
c:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Lua\5.1;C:\Program Files (x86)\Lua\5.1\clibs;C:\gtk_bundle\bin;C:\Program Files (x86)\Steel Bank Common Lisp\1.0.37\;C:\Python31;C:\Program Files (x86)\GnuWin32\bin
More information about the pygtk
mailing list