[SciPy-user] General question on scipy

Alexander Dietz Alexander.Dietz at astro.cf.ac.uk
Fri Jun 29 06:54:53 EDT 2007


Hi,

I am relative new to python, but I would like to use python for
post-processing of data etc. I am using a LINUX machine with python
installed on it, but to use if for scientific analysis and creating pictures
etc. I need to install: matplotlib, numpy, scipy. It was quite difficult to
install matplotlib and compile it against numpy (or something like that),
but now I really would like to have a package that can handle matrix
calculations (e.g. matrix multiplication, singular value decomosition) and
similar. The package then I need to install is: scipy.

So I tried to install scipy, but, as I expected, it does not work (multiple
libraries are not found). The whole error message is attached to the end of
the email.
My question: Why do I need to install additional packages? Isn't it possible
to code them up in scipy and use pure python for this? Or is it for
computational reasons (to put computative intense calculations in C or
whatever)? Or do most of the functions not yet exist in scipy (because its
version 0.XX)? What is the reason for not having an entire-pure-python
extension to python.numpy?

My second question: How to install scipy? What packages are missing? I am
sure I have numpy installed correctly, but I failes installing LAPACK, which
error-message is here:


g77   aladhd.o alaerh.o alaesm.o alahd.o alareq.o alasum.o alasvm.o chkxer.o
icopy.o ilaenv.o xlaenv.o xerbla.o slaord.o schkaa.o schkeq.o schkgb.o
schkge.o schkgt.o schklq.o schkpb.o schkpo.o schkpp.o schkpt.o schkq3.o
schkql.o schkqp.o schkqr.o schkrq.o schksp.o schksy.o schktb.o schktp.o
schktr.o schktz.o sdrvgb.o sdrvge.o sdrvgt.o sdrvls.o sdrvpb.o sdrvpo.o
sdrvpp.o sdrvpt.o sdrvsp.o sdrvsy.o serrge.o serrgt.o serrlq.o serrls.o
serrpo.o serrql.o serrqp.o serrqr.o serrrq.o serrsy.o serrtr.o serrtz.o
serrvx.o sgbt01.o sgbt02.o sgbt05.o sgelqs.o sgeqls.o sgeqrs.o sgerqs.o
sget01.o sget02.o sget03.o sget04.o sget06.o sget07.o sgtt01.o sgtt02.o
sgtt05.o slaptm.o slarhs.o slatb4.o slattb.o slattp.o slattr.o slavsp.o
slavsy.o slqt01.o slqt02.o slqt03.o spbt01.o spbt02.o spbt05.o spot01.o
spot02.o spot03.o spot05.o sppt01.o sppt02.o sppt03.o sppt05.o sptt01.o
sptt02.o sptt05.o sqlt01.o sqlt02.o sqlt03.o sqpt01.o sqrt01.o sqrt02.o
sqrt03.o sqrt11.o sqrt12.o sqrt13.o sqrt14.o sqrt15.o sqrt16.o sqrt17.o
srqt01.o srqt02.o srqt03.o srzt01.o srzt02.o sspt01.o ssyt01.o stbt02.o
stbt03.o stbt05.o stbt06.o stpt01.o stpt02.o stpt03.o stpt05.o stpt06.o
strt01.o strt02.o strt03.o strt05.o strt06.o stzt01.o stzt02.o \
        ../../tmglib_LINUX.a ../../lapack_LINUX.a ../../blas_LINUX.a  -o
../xlintsts
g77: ../../blas_LINUX.a: No such file or directory
> (because there is no blas_LINUX.a file, only lapack_LINUX.a and
blas_LINUX.a...)


Thanks
  Alex


===== ERROR message ===
kl_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 lapack,blas not found in /usr/local/lib
  libraries lapack,blas not found in /usr/lib/sse2
  libraries lapack,blas not found in /usr/lib
  NOT AVAILABLE

atlas_blas_info:
  libraries lapack,blas not found in /usr/local/lib
  libraries lapack,blas not found in /usr/lib/sse2
  libraries lapack,blas 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
  libraries blas not found in /usr/lib
  NOT AVAILABLE

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

/usr/lib/python2.4/site-packages/numpy/distutils/system_info.py:1313:
UserWarning:
    Blas (http://www.netlib.org/blas/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [blas_src]) or by setting
    the BLAS_SRC environment variable.
  warnings.warn(BlasSrcNotFoundError.__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 7, in configuration
    config.add_subpackage('integrate')
  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/integrate/setup.py", line 11, in configuration
    blas_opt = get_info('blas_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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20070629/721b2ec9/attachment.html>


More information about the SciPy-User mailing list