[SciPy-Dev] numpy svn broken NPY_COPY_PYOBJECT_PTR

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Jul 29 05:02:00 CDT 2010


Hi all,

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 cannot install the most recent svn version of scipy

python setup.py install --prefix=$HOME/local
Traceback (most recent call last):
   File "setup.py", line 160, in <module>
     setup_package()
   File "setup.py", line 127, in setup_package
     from numpy.distutils.core import setup
   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

  Any idea ?
                               Nils


More information about the SciPy-Dev mailing list