[CentOS] matplotlib pygtk version problem

tacolijst list

tacolists at gmail.com
Mon Dec 3 15:13:49 UTC 2012


Hello,
Anybody a solution for the following problem:
the matplotlib library for Python in Centos 6.3 crashes my application
because of a deprecated PyGtk2 version.
Can be easily reproduced:
installation of python 2.6.6 with matplotlib
Type in the python shell:

from pylab import plot
plot([0,1],[0,1])

Error:
/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_gtk.py:621:
DeprecationWarning: Use the new widget gtk.Tooltip
  self.tooltips = gtk.Tooltips()
self.tooltips = gtk.Tooltips()
Fatal Python error: GC object already tracked
Aborted (core dumped)

Looks like it has to do with the ridiculous old PyGtk version 2.16 which
should be >2.2 for matplotlib
any solutions?

Taco Walstra

University of Amsterdam



More information about the CentOS mailing list