472,352 Members | 1,562 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,352 software developers and data experts.

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 1407
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Justin Lemkul | last post by:
Hello all, I am hoping someone out there will be able to help me. I am trying to install a program that utilizes NumPy. In installing NumPy, I...
1
by: cesco | last post by:
Hi, I'm trying to install the numpy library (precisely numpy-0.9.6-py2.4-linux-i686) on Linux but I encounter several problems. After unpacking...
3
by: Iljya | last post by:
Hello, I need to pickle the type numpy.float32 but encounter an error when I try to do so. I am able to pickle the array itself, it is...
2
by: Chris Smith | last post by:
Howdy, I'm a college student and for one of we are writing programs to numerically compute the parameters of antenna arrays. I decided to use...
5
by: Marc Oldenhof | last post by:
Hello all, I'm pretty new to Python, but use it a lot lately. I'm getting a crazy error trying to do operations on a string list after importing...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.