GTK Problem

GTK Problem
I’ve checked my path several times and all seems to be as it should be. However when I try to use pygtk and the latest gtk runtime and matplotlib under Win98, I get the following error:

import pygtk

pygtk.require(‘2.0’)

import gtk

from matplotlib.matlab import *

Traceback (most recent call last):

File “<pyshell#6>”, line 1, in -toplevel-

from matplotlib.matlab import *

File “D:\PROGRA~1\PYTHON23\Lib\site-packages\matplotlib\matlab.py”, line 124, in -toplevel-

from backends import new_figure_manager, error_msg, \

File “D:\PROGRA~1\PYTHON23\Lib\site-packages\matplotlib\backends_init_.py”, line 12, in -toplevel-

from backend_gtk import  \

File “D:\PROGRA~1\PYTHON23\Lib\site-packages\matplotlib\backends\backend_gtk.py”, line 15, in -toplevel-

from gtk import gdk

ImportError: cannot import name gdk

I’m probably overlooking something obvious but would be grateful for suggestions.

BTW, if I do the pygtk test ( >>>import pygtk >>> pygtk.require(‘2.0’)

import gtk ) once, I get an error message. If I do it again without changing anything, I get no error message.

Dave