[Numpy-discussion] C-API change for 1.2
Charles R Harris
charlesr.harris@gmail....
Sat Aug 16 13:17:47 CDT 2008
On Sat, Aug 16, 2008 at 12:05 PM, Charles R Harris <
charlesr.harris@gmail.com> wrote:
>
>
> On Sat, Aug 16, 2008 at 11:56 AM, Charles R Harris <
> charlesr.harris@gmail.com> wrote:
>
>>
>>
>> On Sat, Aug 16, 2008 at 11:44 AM, Jon Wright <wright@esrf.fr> 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
> <module>
> import add_newdocs
> File "/usr/lib/python2.5/site-packages/numpy/add_newdocs.py", line 9, in
> <module>
> from lib import add_newdoc
> File "/usr/lib/python2.5/site-packages/numpy/lib/__init__.py", line 4, in
> <module>
> from type_check import *
> File "/usr/lib/python2.5/site-packages/numpy/lib/type_check.py", line 8,
> in <module>
> import numpy.core.numeric as _nx
> File "/usr/lib/python2.5/site-packages/numpy/core/__init__.py", line 19,
> in <module>
> import scalarmath
> ImportError: numpy.core.multiarray failed to import
>
False alarm. I needed to remove the build directory first.
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080816/53a31d57/attachment.html
More information about the Numpy-discussion
mailing list