[Numpy-discussion] SCons install fails with rev 5258

Alan McIntyre alan.mcintyre@gmail....
Sat Jun 7 12:02:58 CDT 2008

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
-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)

More information about the Numpy-discussion mailing list