I really need help about installing matplotlib.

Please Help me.
I am a beginner in programming. Due to my research, I should know how to
make graph using python and matplotlib.
I went to matplotlib website and downloaded and installed "enthought python"
Enthought python is a package that include numpy, wxPython GUI toolkit and
SciPy.
I installed Enthought python at
C:/Python24
and downloaded and installed matplotlib
C:/
I did know which things I downloaded.. But I downloaded..
matplotlib-0.91.2.win32-py2.4.exe
matplotlib-0.91.2-py2.4-win32.egg
matplotlib-0.91.2.tar.gz
Did I downloaded right things?
Anyway, I installed and opened Python(Idle) and tried to make a graph

from pylab import *

RuntimeError: module compiled against version 1000009 of C-API but this
version of numpy is 90907

Traceback (most recent call last):
  File "<pyshell#2>", line 1, in -toplevel-
    from pylab import *
  File "C:\Python24\Lib\site-packages\pylab.py", line 1, in -toplevel-
    from matplotlib.pylab import *
  File "C:\Python24\Lib\site-packages\matplotlib\pylab.py", line 208, in
-toplevel-
    from matplotlib import mpl # pulls in most modules
  File "C:\Python24\Lib\site-packages\matplotlib\mpl.py", line 1, in
-toplevel-
    from matplotlib import artist
  File "C:\Python24\Lib\site-packages\matplotlib\artist.py", line 4, in
-toplevel-
    from transforms import identity_transform
  File "C:\Python24\Lib\site-packages\matplotlib\transforms.py", line 254,
in -toplevel-
    from matplotlib._transforms import Value, Point, Interval, Bbox, Affine
ImportError: numpy.core.multiarray failed to import

What is the problem?
Do I need to update numpy?
Please help me, I am so desperate..

···

--
View this message in context: http://www.nabble.com/I-really-need-help-about-installing-matplotlib.-tp15773095p15773095.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

lovegf86 wrote:

What is the problem?
Do I need to update numpy?
Please help me, I am so desperate..

Install Python 2.5 from here:
http://python.org/ftp/python/2.5.2/python-2.5.2.msi

Install NumPy from here:
http://downloads.sourceforge.net/numpy/numpy-1.0.4.win32-p3-py2.5.exe

Install the windows binary for python 2.5 from here:
http://downloads.sourceforge.net/matplotlib/matplotlib-0.91.2.win32-py2.5.exe

Ignore the Enthought stuff :wink:

cheers,

Chris

···

--
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk

I missed the OP's query, so just for insurance:
use the p3 version if you have a Pentium 3 (no SSE2 support).
On newer Pentiums, you do not need this version.

Cheers,
Alan Isaac

···

On Tue, 25 Mar 2008, Chris Withers apparently wrote:

Install NumPy from here:
http://downloads.sourceforge.net/numpy/numpy-1.0.4.win32-p3-py2.5.exe