matplotlib / Python 2.4 / Numarray

Hi folks. Just setting up a new machine with Python 2.4, and wanted to
check something. Under "Installing on Windows", the Matplotlib pages at
sf.net say:

    For standard python installations, you will also need to install
    either Numeric or numarray in addition to the matplotlib installer.
    matplotlib provides installers for Numeric and numarray users. It is
    important that you pick the matplotlib installer that corresponds to
    your array package. Ie, if you mostly work with numarray arrays, use
    the matplotlib numarray installer. matplotlib has a numerix setting in
    the matplotlib rc file (which by default resides in
    c:\python23\share\matplotlitb\.matplotlibrc) and you should make sure
    this setting corresponds to your preferred array package.

However, the download page:

    http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474

only differentiates installers by Python version; there's no hint which
one is for Numpy, numarray, etc. The one I grabbed
(matplotlib-0.70.1-win32.py2.4.exe) installed, but complains about not
being able to find numarray (which is installed, for Python 2.4). I'd be
happy to use Numpy, but the only releases available are for Python 2.3.

Any suggestions?

Thanks,
Greg Wilson

Hi Greg,

Hi folks. Just setting up a new machine with Python 2.4, and wanted to
check something. Under "Installing on Windows", the Matplotlib pages at
sf.net say:

    For standard python installations, you will also need to install
    either Numeric or numarray in addition to the matplotlib installer.
    matplotlib provides installers for Numeric and numarray users. It is
    important that you pick the matplotlib installer that corresponds to
    your array package. Ie, if you mostly work with numarray arrays, use
    the matplotlib numarray installer. matplotlib has a numerix setting in
    the matplotlib rc file (which by default resides in
    c:\python23\share\matplotlitb\.matplotlibrc) and you should make sure
    this setting corresponds to your preferred array package.

However, the download page:

http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=8247
4

only differentiates installers by Python version; there's no hint which
one is for Numpy, numarray, etc. The one I grabbed
(matplotlib-0.70.1-win32.py2.4.exe) installed, but complains about not
being able to find numarray (which is installed, for Python 2.4). I'd be
happy to use Numpy, but the only releases available are for Python 2.3.

Any suggestions?

I think the "Installing on Windows" note is out of date. Recently, the MPL
dev's changed the install code to automatically detect numarray and Numeric,
and to install accordingly. This is why you dont see an installer
specifically for numarray or numeric.

As for solving your problem, I don't have an answer but let me offer a couple
suggestions. Can you import numarray from an interactive python session?
Could you try to temporarily install Numeric, and see if MPL can install?

Darren