
I just updated my NumPy tree from svn trunk, and the SCons install now fails with the following message: ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python intepreter from there.: File "/home/alan/numpy/numpy/linalg/SConstruct", line 18: mlib = scons_get_mathlib(env) File "/usr/local/lib/python2.5/site-packages/numscons-0.7.1-py2.5.egg/numscons/__init__.py", line 37: from numpy.distutils.misc_util import get_mathlibs File "/home/alan/numpy/numpy/__init__.py", line 84: raise ImportError(msg) status is 512 error: Error while executing scons command /usr/local/bin/python2.5 "/usr/local/lib/python2.5/site-packages/numscons-0.7.1-py2.5.egg/numscons/scons-local/scons.py" -f numpy/linalg/SConstruct -I. scons_tool_path="" src_dir="numpy/linalg" pkg_name="numpy.linalg" distutils_libdir="build/lib.linux-i686-2.5" cc_opt=gcc cc_opt_path="/usr/bin" f77_opt=gfortran f77_opt_path="/usr/bin" cxx_opt=g++ cxx_opt_path="/usr/bin" include_bootstrap=numpy/core/include:build/scons/numpy/core silent=0 bootstrapping=1 (see above)

Alan McIntyre wrote:
I just updated my NumPy tree from svn trunk, and the SCons install now fails with the following message:
Updating to 0.7.2 should fix the problem (this is due to a change on how I handle bootstrapping numpy build: when numpy changed its bootstrapping implementation, I quickly adapt scons build in a way which was pretty stupid, and I fixed this in numpy trunk and numscons recently). cheers, David

That fixes it, thanks! Apparently I forgot the -U when I tried to update numscons via easy_install yesterday. ;) On Sun, Jun 8, 2008 at 2:11 AM, David Cournapeau <david@ar.media.kyoto-u.ac.jp> wrote:
Alan McIntyre wrote:
I just updated my NumPy tree from svn trunk, and the SCons install now fails with the following message:
Updating to 0.7.2 should fix the problem (this is due to a change on how I handle bootstrapping numpy build: when numpy changed its bootstrapping implementation, I quickly adapt scons build in a way which was pretty stupid, and I fixed this in numpy trunk and numscons recently).
cheers,
David _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
participants (2)
-
Alan McIntyre
-
David Cournapeau