[Pythonmac-SIG] module compiled against version 1000002 of C-API but this version of numpy is 1000009

Teemu Rinne Teemu.Rinne at helsinki.fi
Thu Nov 16 23:19:18 CET 2006


Hi,

Installing python stuff on a new Intel Mac Pro 2.66 was a pleasure this
time (not always so in the past...). Pythonmac.org/packages are great!

However, there is something wrong with my installation/use of scipy/numpy: 

Python 2.4.4 (#1, Oct 18 2006, 10:34:39) 
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> #this works on my older installations
>>> import matplotlib
>>> matplotlib.use("TkAgg")
>>> from pylab import *
>>> from scipy import signal
RuntimeError: module compiled against version 1000002 of C-API but this
version of numpy is 1000009
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/scipy/signal/__init__.py",
line 7, in ?
    import sigtools
ImportError: numpy.core.multiarray failed to import


That is, I have an out-of-box Mac and all the packages are downloaded from
Pythonmac.org/packages. What am I missing? Is the current scipy package
somehow incompatible with the other packages? How do I get scipy working
too?


Cheers,

Teemu Rinne
Dept Psychology
Univ Helsinki





More information about the Pythonmac-SIG mailing list