Hello all,

My apologies if this has been brought up and solved before, but I
didn't see any solutions that made sense to me in the archives. Here
is my stack:
python 2.4 (from python.org)
numpy-1.0rc3
matplotlib-0.87.6

Everything seems to install fine. When I attempt to do 'from pylab
import *' I get the following error:

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

The import of the numpy version of the nxutils module,
_nsnxutils, failed.  This is is either because numpy was
unavailable when matplotlib was compiled, because a dependency of
_nsnxutils could not be satisfied, or because the build flag for
this module was turned off in setup.py.  If it appears that
_nsnxutils was not built, make sure you have a working copy of
numpy and then re-install matplotlib. Otherwise, the following
traceback gives more details:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Development\Python25\Lib\site-packages\pylab.py", line 1, in <module>

    from matplotlib.pylab import *
  File "C:\Development\Python25\Lib\site-packages\matplotlib\pylab.py", line 199
, in <module>
    import mlab  #so I can override hist, psd, etc...
  File "C:\Development\Python25\Lib\site-packages\matplotlib\mlab.py", line 64,
in <module>
    import nxutils
  File "C:\Development\Python25\Lib\site-packages\matplotlib\nxutils.py", line 1
7, in <module>
    from matplotlib._ns_nxutils import *
ImportError: numpy.core.multiarray failed to import

I saw an e-mail in the archive that had a similar error, but the
solution was apparently to install scipy-0.51? I don't need or
necessarily want scipy.. is there a reason the latest win32 binaries
for matplotlib and numpy don't play together? Any help is appreciated.
Thanks!

- Todd


-- 
Todd Page
[EMAIL PROTECTED]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to