I installed matplotlib using a python distribution with only numarray installed (no Numeric). The compilation was fine (but some troubles locating the GTK libraries... I solved) but when I started my python shell and I imported pylab I got this error:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "***/installation/lib/python2.3/site-packages/pylab.py", line 1, in ?
from matplotlib.pylab import *
File "***/installation/lib/python2.3/site-packages/matplotlib/pylab.py", line 194, in ?
File "***/installation/lib/python2.3/site-packages/matplotlib/cm.py", line 5, in ?
File "***/installation/lib/python2.3/site-packages/matplotlib/colors.py", line 33, in ?
from numerix import array, arange, take, put, Float, Int, where, \
File "***/installation/lib/python2.3/site-packages/matplotlib/numerix/__init__.py", line 58, in ?
from Numeric import *
ImportError: No module named Numeric
(I replaced the installation dir with ***)
OK, so I copied and modified the ~/.matplotlib/matplotlibrc file defining:
numerix : numarray
but nothing happened, the same error occured.
The only way I found to use matplotlib is modifing the file:
with a trick.
Is it an installation bug?