import scipy Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.4/site-packages/scipy/__init__.py", line 86, in ? ImportError: cannot import name Tester
Looks like this update to scipy/__init__.py caused it: r4545 | alan.mcintyre | 2008-07-16 02:26:23 +0200 (Wed, 16 Jul 2008) | 2 lines Remove the testing package, and switched all test modules to use numpy.test instead. r.
On Thu, Jul 31, 2008 at 9:42 AM, Robert Cimrman <cimrman3@ntc.zcu.cz> wrote:
Looks like this update to scipy/__init__.py caused it:
r4545 | alan.mcintyre | 2008-07-16 02:26:23 +0200 (Wed, 16 Jul 2008) | 2 lines
Remove the testing package, and switched all test modules to use numpy.test instead.
You'll need to update your numpy installation. -- Nathan Bell wnbell@gmail.com http://graphics.cs.uiuc.edu/~wnbell/
Nathan Bell wrote:
On Thu, Jul 31, 2008 at 9:42 AM, Robert Cimrman <cimrman3@ntc.zcu.cz> wrote:
Looks like this update to scipy/__init__.py caused it:
r4545 | alan.mcintyre | 2008-07-16 02:26:23 +0200 (Wed, 16 Jul 2008) | 2 lines
Remove the testing package, and switched all test modules to use numpy.test instead.
You'll need to update your numpy installation.
I see. I use a simple script to update both numpy and scipy for me, and did not notice the following: compile options: '-Ibuild/src.linux-i686-2.4/numpy/core/src -Inumpy/core/include -Ibuild/src.linux-i686-2.4/numpy/core/include/numpy -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.4 -I/usr/include/python2.4 -c' i486-pc-linux-gnu-gcc: numpy/core/src/multiarraymodule.c numpy/core/src/multiarraymodule.c:130: error: static declaration of 'PyArray_OverflowMultiplyList' follows non-static declaration numpy/core/src/arrayobject.c:10185: error: previous implicit declaration of 'PyArray_OverflowMultiplyList' was here numpy/core/src/multiarraymodule.c:130: error: static declaration of 'PyArray_OverflowMultiplyList' follows non-static declaration numpy/core/src/arrayobject.c:10185: error: previous implicit declaration of 'PyArray_OverflowMultiplyList' was here error: Command "i486-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -fPIC -Ibuild/src.linux-i686-2.4/numpy/core/src -Inumpy/core/include -Ibuild/src.linux-i686-2.4/numpy/core/include/numpy -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.4 -I/usr/include/python2.4 -c numpy/core/src/multiarraymodule.c -o build/temp.linux-i686-2.4/numpy/core/src/multiarraymodule.o" failed with exit status 1 -> I cannot compile the latest numpy. (5578) r.
participants (2)
-
Nathan Bell -
Robert Cimrman