I would appreciate some help installing matplotlib on fedora core 3.
After an initial unsuccessful build using gtk I decided to try to avoid
the pygtk 2.4 problem http://matplotlib.sourceforge.net/faq.html#PYGTK24
I therefore changed two lines in setup.py so that it now reads
BUILD_GTKAGG = 0
#BUILD_GTKAGG = 'auto'
#BUILD_GTK = 'auto'
BUILD_GTK = 0
After that the build and install went smoothly. But now if I try to
import pylab I get the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.3/site-packages/pylab.py", line 1, in ?
from matplotlib.pylab import *
File "/usr/lib/python2.3/site-packages/matplotlib/pylab.py", line 196,
packages/matplotlib/backends/__init__.py", line 19, in ?
packages/matplotlib/backends/backend_gtkagg.py", line 10, in ?
from backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\
packages/matplotlib/backends/backend_gtk.py", line 20, in ?
from backend_gdk import RendererGDK
packages/matplotlib/backends/backend_gdk.py", line 44, in ?
from matplotlib._nc_backend_gdk import pixbuf_get_pixels_array
ImportError: No module named _nc_backend_gdk
As far as I can see it is still trying to use some gtk-stuff?
I have tried removing the site-packages/matplotlib directory completely
and also do a new build and install from a fresh tarball with only the
above mentioned two changes in setup.py, but still I get the error.
Any help would be appreciated.