[SciPy-user] Installation SciPy on FC5

Lorenzo Isella lorenzo.isella@gmail....
Mon Apr 30 10:37:49 CDT 2007


Dear All,
I am running Fedora Core 5 on my desktop at work and I would like to
install SciPy to run some simulations.
Now, I have only the basic repositories enabled and I do not have a
the SciPy library available.
I went to the SciPy homepage and the download & installation of NumPy
went fine, but I am experiencing some problems with SciPy, due to
missing dependencies.
Here is the output of my latest attempt:

python setup.py install
mkl_info:
  libraries mkl,vml,guide not found in /usr/local/lib
  libraries mkl,vml,guide not found in /usr/lib
  NOT AVAILABLE

fftw3_info:
  libraries fftw3 not found in /usr/local/lib
  libraries fftw3 not found in /usr/lib
  fftw3 not found
  NOT AVAILABLE

fftw2_info:
  libraries rfftw,fftw not found in /usr/local/lib
  libraries rfftw,fftw not found in /usr/lib
  fftw2 not found
  NOT AVAILABLE

dfftw_info:
  libraries drfftw,dfftw not found in /usr/local/lib
  libraries drfftw,dfftw not found in /usr/lib
  dfftw not found
  NOT AVAILABLE

djbfft_info:
  NOT AVAILABLE

blas_opt_info:
blas_mkl_info:
  libraries mkl,vml,guide not found in /usr/local/lib
  libraries mkl,vml,guide not found in /usr/lib
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse2
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  NOT AVAILABLE

atlas_blas_info:
  libraries f77blas,cblas,atlas not found in /usr/local/lib
  libraries f77blas,cblas,atlas not found in /usr/lib/sse2
  libraries f77blas,cblas,atlas not found in /usr/lib
  NOT AVAILABLE

/usr/lib/python2.4/site-packages/numpy/distutils/system_info.py:1301:
UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
blas_info:
  libraries blas not found in /usr/local/lib
  FOUND:
    libraries = ['blas']
    library_dirs = ['/usr/lib']
    language = f77

  FOUND:
    libraries = ['blas']
    library_dirs = ['/usr/lib']
    define_macros = [('NO_ATLAS_INFO', 1)]
    language = f77

lapack_opt_info:
lapack_mkl_info:
  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse2
  libraries lapack_atlas not found in /usr/lib/sse2
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_threads_info
  NOT AVAILABLE

atlas_info:
  libraries f77blas,cblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries f77blas,cblas,atlas not found in /usr/lib/sse2
  libraries lapack_atlas not found in /usr/lib/sse2
  libraries f77blas,cblas,atlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
numpy.distutils.system_info.atlas_info
  NOT AVAILABLE

/usr/lib/python2.4/site-packages/numpy/distutils/system_info.py:1210:
UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
lapack_info:
  libraries lapack not found in /usr/local/lib
  libraries lapack not found in /usr/lib
  NOT AVAILABLE

/usr/lib/python2.4/site-packages/numpy/distutils/system_info.py:1221:
UserWarning:
    Lapack (http://www.netlib.org/lapack/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [lapack]) or by setting
    the LAPACK environment variable.
  warnings.warn(LapackNotFoundError.__doc__)
lapack_src_info:
  NOT AVAILABLE

/usr/lib/python2.4/site-packages/numpy/distutils/system_info.py:1224:
UserWarning:
    Lapack (http://www.netlib.org/lapack/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [lapack_src]) or by setting
    the LAPACK_SRC environment variable.
  warnings.warn(LapackSrcNotFoundError.__doc__)
Traceback (most recent call last):
  File "setup.py", line 55, in ?
    setup_package()
  File "setup.py", line 47, in setup_package
    configuration=configuration )
  File "/usr/lib/python2.4/site-packages/numpy/distutils/core.py",
line 144, in setup
    config = configuration()
  File "setup.py", line 19, in configuration
    config.add_subpackage('Lib')
  File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py",
line 765, in add_subpackage
    caller_level = 2)
  File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py",
line 748, in get_subpackage
    caller_level = caller_level + 1)
  File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py",
line 695, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "./Lib/setup.py", line 10, in configuration
    config.add_subpackage('lib')
  File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py",
line 765, in add_subpackage
    caller_level = 2)
  File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py",
line 748, in get_subpackage
    caller_level = caller_level + 1)
  File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py",
line 695, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "Lib/lib/setup.py", line 8, in configuration
    config.add_subpackage('lapack')
  File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py",
line 765, in add_subpackage
    caller_level = 2)
  File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py",
line 748, in get_subpackage
    caller_level = caller_level + 1)
  File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py",
line 695, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "Lib/lib/lapack/setup.py", line 32, in configuration
    lapack_opt = get_info('lapack_opt',notfound_action=2)
  File "/usr/lib/python2.4/site-packages/numpy/distutils/system_info.py",
line 256, in get_info
    return cl().get_info(notfound_action)
  File "/usr/lib/python2.4/site-packages/numpy/distutils/system_info.py",
line 403, in get_info
    raise self.notfounderror,self.notfounderror.__doc__
numpy.distutils.system_info.NotFoundError: Some third-party program or
library is not found.
[root@erlive153 scipy-0.5.2]#

Before ending up in dependency hell (I tried installing Blas and it
went like a breeze, but something went wrong when I tried with Atlas),
I would like to know if there is a smarter way of doing this.
Many thanks for your help.

Lorenzo


More information about the SciPy-user mailing list