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",
Hi all, I have installed the most recent svn version of numpy. However if I try to import numpy it fails with 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
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
On Thu, Jul 29, 2010 at 9:13 PM, Scott Sinclair <scott.sinclair.za@gmail.com> wrote:
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.
Sorry for the trouble, I did not expect the change could have broken anything if it had built. I should have run the test suite. Anyway, it should be fixed as we speak, David
On 29 July 2010 16:10, David Cournapeau <cournape@gmail.com> wrote: On Thu, Jul 29, 2010 at 9:13 PM, Scott Sinclair <scott.sinclair.za@gmail.com> wrote:
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.
Sorry for the trouble, I did not expect the change could have broken anything if it had built. I should have run the test suite.
No trouble at all.
Anyway, it should be fixed as we speak,
Thanks! Works for me now. Cheers, Scott
participants (3)
-
David Cournapeau
-
Nils Wagner
-
Scott Sinclair