[SciPy-user] Error when install SciPy on OS X 10.5.6

Chensong Zhang zhangchensong@gmail....
Wed May 13 01:04:40 CDT 2009


Thanks for your comment. But I installed numpy from svn also.


Best
Chensong

====================================
Mathematics Department
Penn State University, State College, PA
email: zhangchensong@gmail.com
web: zhangcs.wordpress.com
====================================

On May 12, 2009, at 9:51 PM, David Cournapeau wrote:

> Chensong Zhang wrote:
>> Mac OS X 10.5.6
>>
>> svn current version of scipy
>>
>> gcc --version
>> i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)
>>
>> gfortran --version
>> GNU Fortran (GCC) 4.3.3
>>
>> Warning: No configuration returned, assuming unavailable.
>> blas_opt_info:
>>   FOUND:
>>     extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
>>     define_macros = [('NO_ATLAS_INFO', 3)]
>>     extra_compile_args = ['-msse3', '-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 = ['-msse3']
>>
>> umfpack_info:
>>   libraries umfpack not found in /System/Library/Frameworks/
>> Python.framework/Versions/2.5/lib
>>   libraries umfpack not found in /usr/local/lib
>>   libraries umfpack not found in /usr/lib
>>   libraries umfpack not found in /sw/lib
>> /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/
>> python/numpy/distutils/system_info.py:401: UserWarning:
>>     UMFPACK sparse solver (http://www.cise.ufl.edu/research/sparse/umfpack/
>> )
>>     not found. Directories to search for the libraries can be
>> specified in the
>>     numpy/distutils/site.cfg file (section [umfpack]) or by setting
>>     the UMFPACK environment variable.
>>   warnings.warn(self.notfounderror.__doc__)
>>   NOT AVAILABLE
>>
>> running build_src
>> building py_modules sources
>> building library "dfftpack" sources
>> building library "fftpack" sources
>> building library "linpack_lite" sources
>> building library "mach" sources
>> building library "quadpack" sources
>> building library "odepack" sources
>> building library "dop" sources
>> building library "fitpack" sources
>> building library "odrpack" sources
>> building library "minpack" sources
>> building library "rootfind" sources
>> building library "superlu_src" sources
>> building library "arpack" sources
>> building library "sc_c_misc" sources
>> building library "sc_cephes" sources
>> building library "sc_mach" sources
>> building library "sc_toms" sources
>> building library "sc_amos" sources
>> building library "sc_cdf" sources
>> building library "sc_specfun" sources
>> building library "statlib" sources
>> building extension "scipy.cluster._vq" sources
>> building extension "scipy.cluster._hierarchy_wrap" sources
>> building extension "scipy.fftpack._fftpack" sources
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.fftpack.convolve" sources
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.integrate._quadpack" sources
>> building extension "scipy.integrate._odepack" sources
>> building extension "scipy.integrate.vode" sources
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.integrate.dop" sources
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.interpolate._fitpack" sources
>> building extension "scipy.interpolate.dfitpack" sources
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>>   adding 'build/src.macosx-10.5-i386-2.5/scipy/interpolate/src/
>> dfitpack-f2pywrappers.f' to sources.
>> building extension "scipy.interpolate._interpolate" sources
>> building extension "scipy.io.numpyio" sources
>> building extension "scipy.lib.blas.fblas" sources
>> f2py options: ['skip:', ':']
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>>   adding 'build/src.macosx-10.5-i386-2.5/build/src.macosx-10.5-
>> i386-2.5/scipy/lib/blas/fblas-f2pywrappers.f' to sources.
>> building extension "scipy.lib.blas.cblas" sources
>>   adding 'build/src.macosx-10.5-i386-2.5/scipy/lib/blas/cblas.pyf' to
>> sources.
>> f2py options: ['skip:', ':']
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.lib.lapack.flapack" sources
>> f2py options: ['skip:', ':']
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.lib.lapack.clapack" sources
>>   adding 'build/src.macosx-10.5-i386-2.5/scipy/lib/lapack/
>> clapack.pyf' to sources.
>> f2py options: ['skip:', ':']
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.lib.lapack.calc_lwork" sources
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.lib.lapack.atlas_version" sources
>> building extension "scipy.linalg.fblas" sources
>>   adding 'build/src.macosx-10.5-i386-2.5/scipy/linalg/fblas.pyf' to
>> sources.
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>>   adding 'build/src.macosx-10.5-i386-2.5/build/src.macosx-10.5-
>> i386-2.5/scipy/linalg/fblas-f2pywrappers.f' to sources.
>> building extension "scipy.linalg.cblas" sources
>>   adding 'build/src.macosx-10.5-i386-2.5/scipy/linalg/cblas.pyf' to
>> sources.
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.linalg.flapack" sources
>>   adding 'build/src.macosx-10.5-i386-2.5/scipy/linalg/flapack.pyf' to
>> sources.
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>>   adding 'build/src.macosx-10.5-i386-2.5/build/src.macosx-10.5-
>> i386-2.5/scipy/linalg/flapack-f2pywrappers.f' to sources.
>> building extension "scipy.linalg.clapack" sources
>>   adding 'build/src.macosx-10.5-i386-2.5/scipy/linalg/clapack.pyf' to
>> sources.
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.linalg._flinalg" sources
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.linalg.calc_lwork" sources
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.linalg.atlas_version" sources
>> building extension "scipy.odr.__odrpack" sources
>> building extension "scipy.optimize._minpack" sources
>> building extension "scipy.optimize._zeros" sources
>> building extension "scipy.optimize._lbfgsb" sources
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.optimize.moduleTNC" sources
>> building extension "scipy.optimize._cobyla" sources
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.optimize.minpack2" sources
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.optimize._slsqp" sources
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.optimize._nnls" sources
>> f2py options: []
>>   adding 'build/src.macosx-10.5-i386-2.5/fortranobject.c' to sources.
>>   adding 'build/src.macosx-10.5-i386-2.5' to include_dirs.
>> building extension "scipy.signal.sigtools" sources
>> conv_template:> build/src.macosx-10.5-i386-2.5/scipy/signal/ 
>> lfilter.inc
>> Traceback (most recent call last):
>>   File "setup.py", line 158, in <module>
>>     setup_package()
>>   File "setup.py", line 150, in setup_package
>>     configuration=configuration )
>>   File "/System/Library/Frameworks/Python.framework/Versions/2.5/
>> Extras/lib/python/numpy/distutils/core.py", line 174, in setup
>>     return old_setup(**new_attr)
>>   File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
>> python2.5/distutils/core.py", line 151, in setup
>>     dist.run_commands()
>>   File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
>> python2.5/distutils/dist.py", line 974, in run_commands
>>     self.run_command(cmd)
>>   File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
>> python2.5/distutils/dist.py", line 994, in run_command
>>     cmd_obj.run()
>>   File "/System/Library/Frameworks/Python.framework/Versions/2.5/
>> Extras/lib/python/numpy/distutils/command/build_src.py", line 87,  
>> in run
>>     self.build_sources()
>>   File "/System/Library/Frameworks/Python.framework/Versions/2.5/
>> Extras/lib/python/numpy/distutils/command/build_src.py", line 106, in
>> build_sources
>>     self.build_extension_sources(ext)
>>   File "/System/Library/Frameworks/Python.framework/Versions/2.5/
>> Extras/lib/python/numpy/distutils/command/build_src.py", line 214, in
>> build_extension_sources
>>     sources = self.template_sources(sources, ext)
>>   File "/System/Library/Frameworks/Python.framework/Versions/2.5/
>> Extras/lib/python/numpy/distutils/command/build_src.py", line 322, in
>> template_sources
>>     outstr = process_c_file(source)
>>   File "/System/Library/Frameworks/Python.framework/Versions/2.5/
>> Extras/lib/python/numpy/distutils/conv_template.py", line 191, in
>> process_file
>>     % (sourcefile, process_str(''.join(lines))))
>>   File "/System/Library/Frameworks/Python.framework/Versions/2.5/
>> Extras/lib/python/numpy/distutils/conv_template.py", line 156, in
>> process_str
>>     newstr[sub[0]:sub[1]], sub[4])
>>   File "/System/Library/Frameworks/Python.framework/Versions/2.5/
>> Extras/lib/python/numpy/distutils/conv_template.py", line 120, in
>> expand_sub
>>     for k in range(numsubs):
>> TypeError: range() integer end argument expected, got NoneType.
>>
>>
>
> You are more than likely using an old numpy. Scipy svn requires  
> numpy 1.3.0
>
> cheers,
>
> David
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user



More information about the SciPy-user mailing list