[SciPy-Dev] numpy svn broken NPY_COPY_PYOBJECT_PTR

Scott Sinclair scott.sinclair.za@gmail....
Thu Jul 29 07:13:01 CDT 2010


>On 29 July 2010 12:02, Nils Wagner <nwagner@iam.uni-stuttgart.de> wrote:
> I have installed the most recent svn version of numpy.
> However if I try to import numpy it fails with
>
>>>> import numpy
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/data/home/nwagner/local/lib/python2.5/site-packages/numpy/__init__.py",
> line 136, in <module>
>     import add_newdocs
>   File
> "/data/home/nwagner/local/lib/python2.5/site-packages/numpy/add_newdocs.py",
> line 9, in <module>
>     from numpy.lib import add_newdoc
>   File
> "/data/home/nwagner/local/lib/python2.5/site-packages/numpy/lib/__init__.py",
> line 4, in <module>
>     from type_check import *
>   File
> "/data/home/nwagner/local/lib/python2.5/site-packages/numpy/lib/type_check.py",
> line 8, in <module>
>     import numpy.core.numeric as _nx
>   File
> "/data/home/nwagner/local/lib/python2.5/site-packages/numpy/core/__init__.py",
> line 5, in <module>
>     import multiarray
> ImportError:
> /data/home/nwagner/local/lib/python2.5/site-packages/numpy/core/multiarray.so:
> undefined symbol: NPY_COPY_PYOBJECT_PTR

I see this too (since r8541) on 64 bit Ubuntu. I see that the change
has also gone into the 1.4.x and 1.5.x branches (r8542 & r8543), I
guess that those commits should be reverted until trunk is fixed.

> I cannot install the most recent svn version of scipy

Scipy doesn't build because numpy can't be imported..

Cheers,
Scott


More information about the SciPy-Dev mailing list