[SciPy-user] I'm lost on installation

Pierre Dueck dueck@math.ucdavis....
Thu Dec 6 22:04:45 CST 2007


I'm trying to install Numpy and Scipy.  I'm lost on how to finish this  
- I would appreciate help very much!  I found a problem when running  
the numpy test:

 >>> import numpy
Running from numpy source directory.
 >>> numpy.test(1,10)
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'test'
 >>>

Thanks!
-Pierre

Here is the requested info:

Your OS version
	OS X 10.5 Leopard

gcc --version
	i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)

gfortran --version
	GNU Fortran (GCC) 4.2.1

The versions of numpy and scipy that you are trying to install
	Numpy 1.0.4
	Scipy 0.6.0

The full output of $ python setup.py build:

$ python setup.py build
Running from numpy source directory.
non-existing path in 'numpy/distutils': 'site.cfg'
F2PY Version 2_4422
blas_opt_info:
   FOUND:
     extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
     define_macros = [('NO_ATLAS_INFO', 3)]
     extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/ 
vecLib.framework/Headers']

lapack_opt_info:
   FOUND:
     extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
     define_macros = [('NO_ATLAS_INFO', 3)]
     extra_compile_args = ['-faltivec']

running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands -- 
compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands -- 
fcompiler options
running build_src
building py_modules sources
building extension "numpy.core.multiarray" sources
   adding 'build/src.macosx-10.3-fat-2.5/numpy/core/config.h' to  
sources.
executing numpy/core/code_generators/generate_array_api.py
   adding 'build/src.macosx-10.3-fat-2.5/numpy/core/ 
__multiarray_api.h' to sources.
   adding 'build/src.macosx-10.3-fat-2.5/numpy/core/src' to  
include_dirs.
numpy.core - nothing done with h_files = ['build/src.macosx-10.3- 
fat-2.5/numpy/core/src/scalartypes.inc', 'build/src.macosx-10.3- 
fat-2.5/numpy/core/src/arraytypes.inc', 'build/src.macosx-10.3-fat-2.5/ 
numpy/core/config.h', 'build/src.macosx-10.3-fat-2.5/numpy/core/ 
__multiarray_api.h']
building extension "numpy.core.umath" sources
   adding 'build/src.macosx-10.3-fat-2.5/numpy/core/config.h' to  
sources.
executing numpy/core/code_generators/generate_ufunc_api.py
   adding 'build/src.macosx-10.3-fat-2.5/numpy/core/__ufunc_api.h' to  
sources.
   adding 'build/src.macosx-10.3-fat-2.5/numpy/core/src' to  
include_dirs.
numpy.core - nothing done with h_files = ['build/src.macosx-10.3- 
fat-2.5/numpy/core/src/scalartypes.inc', 'build/src.macosx-10.3- 
fat-2.5/numpy/core/src/arraytypes.inc', 'build/src.macosx-10.3-fat-2.5/ 
numpy/core/config.h', 'build/src.macosx-10.3-fat-2.5/numpy/core/ 
__ufunc_api.h']
building extension "numpy.core._sort" sources
   adding 'build/src.macosx-10.3-fat-2.5/numpy/core/config.h' to  
sources.
executing numpy/core/code_generators/generate_array_api.py
   adding 'build/src.macosx-10.3-fat-2.5/numpy/core/ 
__multiarray_api.h' to sources.
numpy.core - nothing done with h_files = ['build/src.macosx-10.3- 
fat-2.5/numpy/core/config.h', 'build/src.macosx-10.3-fat-2.5/numpy/ 
core/__multiarray_api.h']
building extension "numpy.core.scalarmath" sources
   adding 'build/src.macosx-10.3-fat-2.5/numpy/core/config.h' to  
sources.
executing numpy/core/code_generators/generate_array_api.py
   adding 'build/src.macosx-10.3-fat-2.5/numpy/core/ 
__multiarray_api.h' to sources.
executing numpy/core/code_generators/generate_ufunc_api.py
   adding 'build/src.macosx-10.3-fat-2.5/numpy/core/__ufunc_api.h' to  
sources.
numpy.core - nothing done with h_files = ['build/src.macosx-10.3- 
fat-2.5/numpy/core/config.h', 'build/src.macosx-10.3-fat-2.5/numpy/ 
core/__multiarray_api.h', 'build/src.macosx-10.3-fat-2.5/numpy/core/ 
__ufunc_api.h']
building extension "numpy.core._dotblas" sources
   adding 'numpy/core/blasdot/_dotblas.c' to sources.
building extension "numpy.lib._compiled_base" sources
building extension "numpy.numarray._capi" sources
building extension "numpy.fft.fftpack_lite" sources
building extension "numpy.linalg.lapack_lite" sources
   adding 'numpy/linalg/lapack_litemodule.c' to sources.
building extension "numpy.random.mtrand" sources
customize NAGFCompiler
Could not locate executable f95
customize AbsoftFCompiler
Could not locate executable f90
Could not locate executable f77
customize IBMFCompiler
Could not locate executable xlf90
Could not locate executable xlf
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
customize GnuFCompiler
Could not locate executable g77
customize Gnu95FCompiler
Found executable /usr/local/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using config
C compiler: gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/ 
MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double -no-cpp-precomp - 
mno-fused-madd -fPIC -fno-common -dynamic -DNDEBUG -g -O3 -Wall - 
Wstrict-prototypes

compile options: '-Inumpy/core/src -Inumpy/core/include -I/Library/ 
Frameworks/Python.framework/Versions/2.5/include/python2.5 -c'
gcc: _configtest.c
gcc _configtest.o -o _configtest
_configtest
failure.
removing: _configtest.c _configtest.o _configtest
building data_files sources
running build_py
copying build/src.macosx-10.3-fat-2.5/numpy/__config__.py -> build/ 
lib.macosx-10.3-fat-2.5/numpy
copying build/src.macosx-10.3-fat-2.5/numpy/distutils/__config__.py ->  
build/lib.macosx-10.3-fat-2.5/numpy/distutils
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
running build_scripts
   adding 'build/scripts.macosx-10.3-fat-2.5/f2py' to scripts

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20071206/083f50a3/attachment-0001.html 


More information about the SciPy-user mailing list