[Numpy-discussion] C-API change for 1.2
Charles R Harris
Sat Aug 16 13:05:01 CDT 2008
On Sat, Aug 16, 2008 at 11:56 AM, Charles R Harris <
> On Sat, Aug 16, 2008 at 11:44 AM, Jon Wright <firstname.lastname@example.org> wrote:
>> David Cournapeau wrote:
>> > Does that mean we will continue breaking the ABI from time to time
>> > during the 1.* cycle ?
>> Can someone help me to understand me what is the compelling reason for
>> this change? If it only means everyone recompiles, it is hard to see
>> what we, as users, are gaining by doing that.
> Turns out that ipython needs to be recompiled also because of the newly
> added version checking.
Looks like there is a bug in the new API version tracking:
>>> import numpy as np
RuntimeError: module compiled against version 1000009 of C-API but this
version of numpy is 100000a
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/numpy/__init__.py", line 132, in
File "/usr/lib/python2.5/site-packages/numpy/add_newdocs.py", line 9, in
from lib import add_newdoc
File "/usr/lib/python2.5/site-packages/numpy/lib/__init__.py", line 4, in
from type_check import *
File "/usr/lib/python2.5/site-packages/numpy/lib/type_check.py", line 8,
import numpy.core.numeric as _nx
File "/usr/lib/python2.5/site-packages/numpy/core/__init__.py", line 19,
ImportError: numpy.core.multiarray failed to import
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion