Cannot load pylab...

Hi all,

I newly installed matplotlib 0.71 on my slackware 10 with numarray 1.1 and python 2.4, the installation goes well, but when I try to launch pylab I get the following error:


Python 2.4 (#1, Feb 19 2005, 22:46:12)
[GCC 3.3.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pylab import *
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/", line 1, in ?
    from matplotlib.pylab import *
  File "/usr/lib/python2.4/site-packages/matplotlib/", line 186, in ?
    import cm
  File "/usr/lib/python2.4/site-packages/matplotlib/", line 5, in ?
    import colors
  File "/usr/lib/python2.4/site-packages/matplotlib/", line 32, in ?
    from numerix import array, arange, take, put, Float, Int, where, \
  File "/usr/lib/python2.4/site-packages/matplotlib/numerix/", line 59, in ?
    from Numeric import *
ImportError: No module named Numeric

thanks for the help,


Alex Rada wrote:

ImportError: No module named Numeric

You need to tell Matplotlib that you are using numarray instead of Numeric.

It can be specified in your matplotlibrc file or at runtime:

> python --numarray # use numarray
> python --Numeric # use Numeric

See section 1.2.1 of the users guide.