469,282 Members | 1,706 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

numpy error

Hello,

this is my first try to get wxmpl-1.2.8 running. Therefor I installed:

python 2.5
matplotlib-0.87.6.win32-py2.5.exe
numpy-1.0rc3.win32-py2.5.exe

on WinXP SP2

The result is a version mismatch (see below).

Numpy version 1000002 seems to be numpy-1.0b5 which is not downloadable
anymore. Any hints ?

Thanks in advance.

Jürgen
traceback:

from pylab import *
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 "<interactive input>", line 1, in <module>
File "C:\Python25\Lib\site-packages\pylab.py", line 1, in <module>
from matplotlib.pylab import *
File "C:\Python25\Lib\site-packages\matplotlib\pylab.py", line 199,
in <module>
import mlab #so I can override hist, psd, etc...
File "C:\Python25\Lib\site-packages\matplotlib\mlab.py", line 64, in
<module>
import nxutils
File "C:\Python25\Lib\site-packages\matplotlib\nxutils.py", line 17,
in <module>
from matplotlib._ns_nxutils import *
ImportError: numpy.core.multiarray failed to import
Oct 23 '06 #1
3 1362
numpy questions may get answered sooner and more dependably on the numpy
mailing list.

Oct 23 '06 #2
Juergen Kareta wrote:
Hello,

this is my first try to get wxmpl-1.2.8 running. Therefor I installed:

python 2.5
matplotlib-0.87.6.win32-py2.5.exe
numpy-1.0rc3.win32-py2.5.exe

on WinXP SP2

The result is a version mismatch (see below).

Numpy version 1000002 seems to be numpy-1.0b5 which is not downloadable
anymore. Any hints ?
You need to re-compile matplotlib (or wait until they release a new
binary that is compiled against numpy 1.0)

Or install the numpy-1.0rc2 binary which is now again available on
sourceforge.

-Travis

Oct 23 '06 #3
Or install the numpy-1.0rc2 binary which is now again available on
sourceforge.
Hello Travis,

thanks for your help. Going back to the 1.0rc2 release was successful.
Ok, I had also to copy wxmsw26uh_vc.dll to my path and get around
wx.PrindData.SetPrinterCommand, but that's because I run wxpython
2.7.1.2. Since it's really fresh it'll take a little time to adapt in
all third parties.

Jürgen
Oct 24 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.