On 11/23/06, Teemu Rinne <[EMAIL PROTECTED]> wrote: > > > On 23 Nov 2006, at 4:03 PM, Teemu Rinne wrote: > >> In my test below , I got "RuntimeError: module compiled against > >> version > >> 1000002 of C-API but this version of numpy is 1000009" after "from > >> scipy > >> import signal". Is this because > >> (1) scipy (or one of the other packages) is not up to date with > >> the others > >> or > >> (2) I do something wrong? > > Ronald Oussoren <[EMAIL PROTECTED]> wrote: > > Your using an extension for one version of Python with another version > > (such as numpy for Python 2.3 and Python 2.4). > > Thanks for your reply. > > If this is the case, how do I sort it out? I am helpless. > > This is a new mac with no other python installations than the preinstalled > and pythonmac 2.4.4, I downloaded the packages from > pythonmac.org/packages/py24-fat, > /Library/Frameworks/Python.framework/Versions has no 2.3, the preinstalled > /usr/bin/python 2.3.5 does not have matplotlib/numpy/scipy, output of > python -v seems ok. > > > import matplotlib > matplotlib.use("TkAgg") > from pylab import * > #everything seems ok so far > #the next line fails: > from scipy import signal > > Error message: > 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
It looks like scipy is out of date or something. If someone provides a set of packages that are all up to date and in sync, then I will post them. Otherwise, the only thing I can suggest is to compile it all yourself or find another source for packages built together. -bob _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig