I am still trying to take a look at the gtk GUI package and reinstalled the following:
gtk-win32-devel-2.8.6-rc3.exe
and
pygtk-2.8.2-1.win32-py2.4.exe (updated version)
I have it down to a simpler error message now. Here are my warnings and errors with the sample file base.py
Traceback (most recent call last):
File "D:/Python24/Atest/Demo/pyGTK/base.py", line 7, in ?
import gtk
File "D:\Python24\Lib\site-packages\gtk-2.0\gtk\__init__.py", line 37, in ?
from _gtk import *
ImportError: DLL load failed: The specified procedure could not be found.
Also an error box comes up ...
The procedure entry point gdk_cairo_create could not be located in the dynamic link library libgdk=win32-2.0-0.dll
Here is the code for the small sample file from the gtk docs ...
#!/usr/bin/env python
# example base.py
import pygtk
pygtk.require('2.0')
import gtk
class Base:
def __init__(self):
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
self.window.show()
def main(self):
gtk.main()
print __name__
if __name__ == "__main__":
base = Base()
base.main()
Does anybody have ideas?
I have a Windows XP box and use Python24.