1 2 Previous Next 17 Replies Latest reply on Feb 27, 2016 9:33 AM by a_Monteiro

    Upgrading spicy with anaconda

    a_Monteiro

      Hi all,

       

      I am trying to update my spicy module in anaconda(for python2.7) that I installed on my edison but the following error occurs :

       

      Downloading/unpacking scipy from https://pypi.python.org/packages/source/s/scipy/scipy-0.17.0.tar.gz#md5=5ff2971e1ce90e762c59d2cd84837224

        Downloading scipy-0.17.0.tar.gz (12.4MB): 12.4MB downloaded

        Running setup.py (path:/tmp/pip_build_root/scipy/setup.py) egg_info for package scipy

       

       

          warning: no previously-included files matching '*_subr_*.f' found under directory 'scipy/linalg/src/id_dist/src'

          no previously-included directories found matching 'benchmarks/env'

          no previously-included directories found matching 'benchmarks/results'

          no previously-included directories found matching 'benchmarks/html'

          no previously-included directories found matching 'benchmarks/scipy'

          no previously-included directories found matching 'scipy/special/tests/data/boost'

          no previously-included directories found matching 'scipy/special/tests/data/gsl'

          no previously-included directories found matching 'doc/build'

          no previously-included directories found matching 'doc/source/generated'

          no previously-included directories found matching '*/__pycache__'

          warning: no previously-included files matching '*~' found anywhere in distribution

          warning: no previously-included files matching '*.bak' found anywhere in distribution

          warning: no previously-included files matching '*.swp' found anywhere in distribution

          warning: no previously-included files matching '*.pyo' found anywhere in distribution

      Installing collected packages: scipy

        Found existing installation: scipy 0.14.0

          Uninstalling scipy:

            Successfully uninstalled scipy

        Running setup.py install for scipy

          lapack_opt_info:

          openblas_lapack_info:

            libraries openblas not found in ['/home/root/anaconda/lib']

            NOT AVAILABLE

       

       

          lapack_mkl_info:

          mkl_info:

            libraries mkl,vml,guide not found in ['/home/root/anaconda/lib']

            NOT AVAILABLE

       

       

            NOT AVAILABLE

       

       

          atlas_threads_info:

          Setting PTATLAS=ATLAS

            libraries ptf77blas,ptcblas,atlas not found in /home/root/anaconda/lib

            libraries lapack_atlas not found in /home/root/anaconda/lib

          numpy.distutils.system_info.atlas_threads_info

            NOT AVAILABLE

       

       

          atlas_info:

            libraries f77blas,cblas,atlas not found in /home/root/anaconda/lib

            libraries lapack_atlas not found in /home/root/anaconda/lib

          numpy.distutils.system_info.atlas_info

            NOT AVAILABLE

       

       

          /home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/system_info.py:1432: 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 ['/home/root/anaconda/lib']

            NOT AVAILABLE

       

       

          /home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/system_info.py:1443: 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

       

       

          /home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/system_info.py:1446: 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__)

            NOT AVAILABLE

       

       

          Running from scipy source directory.

          Traceback (most recent call last):

            File "<string>", line 1, in <module>

            File "/tmp/pip_build_root/scipy/setup.py", line 265, in <module>

              setup_package()

            File "/tmp/pip_build_root/scipy/setup.py", line 262, in setup_package

              setup(**metadata)

            File "/home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/core.py", line 135, in setup

              config = configuration()

            File "/tmp/pip_build_root/scipy/setup.py", line 182, in configuration

              config.add_subpackage('scipy')

            File "/home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage

              caller_level = 2)

            File "/home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage

              caller_level = caller_level + 1)

            File "/home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py

              config = setup_module.configuration(*args)

            File "scipy/setup.py", line 15, in configuration

              config.add_subpackage('linalg')

            File "/home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage

              caller_level = 2)

            File "/home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage

              caller_level = caller_level + 1)

            File "/home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py

              config = setup_module.configuration(*args)

            File "scipy/linalg/setup.py", line 20, in configuration

              raise NotFoundError('no lapack/blas resources found')

          numpy.distutils.system_info.NotFoundError: no lapack/blas resources found

          Complete output from command /home/root/anaconda/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-qr1j6d-record/install-record.txt --single-version-externally-managed --compile:

          lapack_opt_info:

       

       

      openblas_lapack_info:

       

       

        libraries openblas not found in ['/home/root/anaconda/lib']

       

       

        NOT AVAILABLE

       

       

       

       

       

       

      lapack_mkl_info:

       

       

      mkl_info:

       

       

        libraries mkl,vml,guide not found in ['/home/root/anaconda/lib']

       

       

        NOT AVAILABLE

       

       

       

       

       

       

        NOT AVAILABLE

       

       

       

       

       

       

      atlas_threads_info:

       

       

      Setting PTATLAS=ATLAS

       

       

        libraries ptf77blas,ptcblas,atlas not found in /home/root/anaconda/lib

       

       

        libraries lapack_atlas not found in /home/root/anaconda/lib

       

       

      numpy.distutils.system_info.atlas_threads_info

       

       

        NOT AVAILABLE

       

       

       

       

       

       

      atlas_info:

       

       

        libraries f77blas,cblas,atlas not found in /home/root/anaconda/lib

       

       

        libraries lapack_atlas not found in /home/root/anaconda/lib

       

       

      numpy.distutils.system_info.atlas_info

       

       

        NOT AVAILABLE

       

       

       

       

       

       

      /home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/system_info.py:1432: 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 ['/home/root/anaconda/lib']

       

       

        NOT AVAILABLE

       

       

       

       

       

       

      /home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/system_info.py:1443: 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

       

       

       

       

       

       

      /home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/system_info.py:1446: 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__)

       

       

        NOT AVAILABLE

       

       

       

       

       

       

      Running from scipy source directory.

       

       

      Traceback (most recent call last):

       

       

        File "<string>", line 1, in <module>

       

       

        File "/tmp/pip_build_root/scipy/setup.py", line 265, in <module>

       

       

          setup_package()

       

       

        File "/tmp/pip_build_root/scipy/setup.py", line 262, in setup_package

       

       

          setup(**metadata)

       

       

        File "/home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/core.py", line 135, in setup

       

       

          config = configuration()

       

       

        File "/tmp/pip_build_root/scipy/setup.py", line 182, in configuration

       

       

          config.add_subpackage('scipy')

       

       

        File "/home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage

       

       

          caller_level = 2)

       

       

        File "/home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage

       

       

          caller_level = caller_level + 1)

       

       

        File "/home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py

       

       

          config = setup_module.configuration(*args)

       

       

        File "scipy/setup.py", line 15, in configuration

       

       

          config.add_subpackage('linalg')

       

       

        File "/home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage

       

       

          caller_level = 2)

       

       

        File "/home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage

       

       

          caller_level = caller_level + 1)

       

       

        File "/home/root/anaconda/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py

       

       

          config = setup_module.configuration(*args)

       

       

        File "scipy/linalg/setup.py", line 20, in configuration

       

       

          raise NotFoundError('no lapack/blas resources found')

       

       

      numpy.distutils.system_info.NotFoundError: no lapack/blas resources found

       

       

      ----------------------------------------

        Rolling back uninstall of scipy

      Cleaning up...

      Command /home/root/anaconda/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-qr1j6d-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/scipy

      Storing debug log for failure in /home/root/.pip/pip.log

       

      Why is this ? I want to use some new functions from spicy..

        1 2 Previous Next