Compiling source and installation woes!

Hi,

i am trying to get matplotlib working. This seems to be as of now the best
that i have found but i cant install it at work. We have a RH9 system, and
matplotlib required a lot of development packages and updates. After all
the installation (which it says is successful), when i try to import
matplotlib or run the examples:

(i am using ipython so i can do run xyz.py)

run bar_stacked.py

----> RuntimeError: Could not find the matplotlib data files

the path was not working so i manually set the path at the __init__.py
file to path = '/home/karthik/usr/share/matplotlib'

Then when i try it again

run bar_stacked.py

----> from matplotlib import rcParams

ImportError: cannot import name rcParams

On the third attempt:

run bar_stacked.py

----> ind = arange(N)
NameError: name 'arange' is not defined

the numerix package was numarray, and while installation the _image.cpp
file had problems with "arrayobject.h", it couldnt find it, i manually set
the path as
#include "/home/karthik/usr/include/python/numarray/arrayobject.h"

How do i proceed now?

With warm regards
karthik

ยทยทยท

-----------------------------------------------------------------------
Karthikesh Raju, email: karthik@...181...
Researcher, http://www.cis.hut.fi/karthik
Helsinki University of Technology, Tel: +358-9-451 5389
Laboratory of Comp. & Info. Sc., Fax: +358-9-451 3277
Department of Computer Sc.,
P.O Box 5400, FIN 02015 HUT,
Espoo, FINLAND
-----------------------------------------------------------------------