pygtk install

John Hunter jdhunter at ace.bsd.uchicago.edu
Thu Apr 10 14:34:52 EDT 2003


Im having problems installing pygtk on my windows XP machine.
I installed
pygtk-1.99.16.win32-py2.2.exe
from
http://www.pcpm.ucl.ac.be/~gustin/win32_ports/
and my test prog
import pygtk
pygtk.require('2.0')
import gtk
gives me this error
Traceback (most recent call last):
   File
"G:\Development\Python\Lib\site-packages\Pythonwin\pywin\framework\scriptutils.py",
line 301, in RunScript
     exec codeObject in __main__.__dict__
   File "E:\Md_prj\md_422\Code\Python\testgtk1.py", line 3, in ?
     import gtk
   File
"G:\Development\Python\Lib\site-packages\gtk-2.0\gtk\__init__.py",
line 39, in ?
     import gobject as _gobject
ImportError: DLL load failed: The specified module could not be found.

I then tried
GTK+-Runtime-Environment-2.2.1.1.exe
and reloaded python etc all the same

-- 
http://mail.python.org/mailman/listinfo/python-list






More information about the Python-list mailing list