matplotlib and pygtk 2.3.96


I have tried using matplotlib with pygtk 2.2 and everything worked fine.
But when I try to compile matplotlib (0.62.4) with the newest version of
pygtk, pygtk-2.3.96, I get the error included below. Since this pygtk
version is still in development, this might as well be a bug in pygtk.

Maybe you can help me solve my problem,


I've recently installed the latest version of pygtk which is now 2.3.97
and matplotlib 0.63.0 and they did not give any install problems.

I would recommend
remove the directory 'python2.x/site-packages/matplotlib'
remove the directory 'build' of your matplotlib install tree
install pygtk 2.3.97
install matplotlib 0.63