I am trying to get pygtk-1.99.14 running on a windows NT machine and am encountering unexpected difficulties. I have done this on a couple of windows machines before successfully, but have spent half a unsuccessfully day trying to get this one working. I am hoping someone here has a suggestion for something I have forgotten.
1. I installed the gtk2 runtime from http://www.dropline.net/gtk/download.html which put the gtk libs in C:\Program Files\Common Files\GTK\2.0\lib 2. I added a key to PythonPath in the system registry and added this dir to that key 3. I installed pygtk-1.99.14 from http://www.pcpm.ucl.ac.be/~gustin/win32_ports/PyGtk-latest.exe 4. When I 'import gtk' from IDLE, I get >>> import gtk Traceback (most recent call last): File "<pyshell#2>", line 1, in ? import gtk File "C:\Python22\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. 5. The gtk2 runtime dir is in my sys.path; in the example below it is sys.path[1], and this dir includes libgobject >>> glob.glob(sys.path[1] + '\\lib*.dll') ['C:\\Program Files\\Common Files\\GTK\\2.0\\lib\\libatk-1.0-0.dll', 'C:\\Program Files\\Common Files\\GTK\\2.0\\lib\\libgdk-win32-2.0-0.dll', ... (snip) ... libgobject-2.0-0.dll' ... (snip)] 6) If I include the C:\Program Files\Common Files\GTK\2.0\lib dir in DependencyWalker's search path, it loads gobject.pyd and _gtk.pyd w/o incident It looks like the libraries are installed properly and the install dir is in my PYTHONPATH, but python can't use them. Any suggestions welcome; I'm stuck! John Hunter _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
