NameError: name '_gtk' is not defined

Jon Schull schull at
Mon May 5 00:13:28 CEST 2003

I'm trying to get pyscintilla to work on winXP home.

I have a pyscintilla directory 
and I installed pygtk 0.6.5
I can import GDK but when I  try to import gtk...

Python 2.2 (#28, Dec 21 2001, 12:21:22) [MSC 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 ?
  File "", line 33, in ?
NameError: name '_gtk' is not defined

I suspect I need a 2.2-compatible _gtk.pyd... ?

Thanks in advance

More information about the Python-list mailing list