I am trying to run a GTK application on Windows XP and am having problems importing. If necessary, I installed the following:
python-2.6.msi gtk2-runtime.2-16.6.exe pycairo-1.8.6.exe pygobject-2.20.0 pygtk-2.16.0.exe pyserial-2.5.exe
However, when running my script:
The following error occurs:
Traceback (most recent call last): File "C:\python26\app\src\start.py", line 22, in <module> import gtk File "C:\Python26\Lib\site-packages\gtk-2.0\gtk\__init__.py", line 30, in <mod ule> import gobject as _gobject File "C:\Python26\Lib\site-packages\gtk-2.0\gobject\__init__.py", line 26, in <module> from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \ File "C:\Python26\Lib\site-packages\gtk-2.0\glib\__init__.py", line 22, in <mo dule> from glib._glib import * ImportError: DLL load failed: The specified module could not be found.
GTK installs in C: \ gtk \ bin and installs in my system PATH.
Did I miss something obvious here?
Any help would be appreciated.
Thank you.
Andy
source share