12 Replies Latest reply on Mar 10, 2015 12:42 PM by a_Monteiro

    Problem Installing Scipy on Edison

    simonepontz

      Hi, I'm installing python package using pip install, I've successfully installed Numpy in that way.
      When i try to

       

      python -m pip install scipy

       

       

      I get this error :  

       

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

       

      Where is the error? What I'm missing?
      The problem is the Blas lbrary?

       

       


      And related question, there is another way to install package? Other thread talking about package installation doesn't help me, probably because I've not got what is the problem!

       

       

       

       

       

      Complete output below

       

      Collecting scipy

        Using cached scipy-0.14.1.tar.gz

      Installing collected packages: scipy

        Running setup.py install for scipy

          blas_opt_info:

          blas_mkl_info:

            libraries mkl,vml,guide not found in ['/usr/lib', '/usr/lib/']

            NOT AVAILABLE

          openblas_info:

            libraries openblas not found in ['/usr/lib', '/usr/lib/']

            NOT AVAILABLE

          atlas_blas_threads_info:

          Setting PTATLAS=ATLAS

            libraries ptf77blas,ptcblas,atlas not found in ['/usr/lib', '/usr/lib/']

            NOT AVAILABLE

          atlas_blas_info:

            libraries f77blas,cblas,atlas not found in ['/usr/lib', '/usr/lib/']

            NOT AVAILABLE

          /usr/lib/python2.7/site-packages/numpy/distutils/system_info.py:1526: 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/lib', '/usr/lib/']

            NOT AVAILABLE

          /usr/lib/python2.7/site-packages/numpy/distutils/system_info.py:1535: 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.7/site-packages/numpy/distutils/system_info.py:1538: 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 "<string>", line 1, in <module>

            File "/tmp/pip-build-kCNhxH/scipy/setup.py", line 249, in <module>

              setup_package()

            File "/tmp/pip-build-kCNhxH/scipy/setup.py", line 246, in setup_package

              setup(**metadata)

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

              config = configuration()

            File "/tmp/pip-build-kCNhxH/scipy/setup.py", line 173, in configuration

              config.add_subpackage('scipy')

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

              caller_level = 2)

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

              caller_level = caller_level + 1)

            File "/usr/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 12, in configuration

              config.add_subpackage('integrate')

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

              caller_level = 2)

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

              caller_level = caller_level + 1)

            File "/usr/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/integrate/setup.py", line 12, in configuration

              blas_opt = get_info('blas_opt',notfound_action=2)

            File "/usr/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 356, in get_info

              return cl().get_info(notfound_action)

            File "/usr/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 514, in get_info

              raise self.notfounderror(self.notfounderror.__doc__)

          numpy.distutils.system_info.BlasNotFoundError:

              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.

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

          blas_opt_info:

       

       

          blas_mkl_info:

       

       

            libraries mkl,vml,guide not found in ['/usr/lib', '/usr/lib/']

       

       

            NOT AVAILABLE

       

       

       

       

       

       

          openblas_info:

       

       

            libraries openblas not found in ['/usr/lib', '/usr/lib/']

       

       

            NOT AVAILABLE

       

       

       

       

       

       

          atlas_blas_threads_info:

       

       

          Setting PTATLAS=ATLAS

       

       

            libraries ptf77blas,ptcblas,atlas not found in ['/usr/lib', '/usr/lib/']

       

       

            NOT AVAILABLE

       

       

       

       

       

       

          atlas_blas_info:

       

       

            libraries f77blas,cblas,atlas not found in ['/usr/lib', '/usr/lib/']

       

       

            NOT AVAILABLE

       

       

       

       

       

       

          /usr/lib/python2.7/site-packages/numpy/distutils/system_info.py:1526: 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/lib', '/usr/lib/']

       

       

            NOT AVAILABLE

       

       

       

       

       

       

          /usr/lib/python2.7/site-packages/numpy/distutils/system_info.py:1535: 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.7/site-packages/numpy/distutils/system_info.py:1538: 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 "<string>", line 1, in <module>

       

       

            File "/tmp/pip-build-kCNhxH/scipy/setup.py", line 249, in <module>

       

       

              setup_package()

       

       

            File "/tmp/pip-build-kCNhxH/scipy/setup.py", line 246, in setup_package

       

       

              setup(**metadata)

       

       

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

       

       

              config = configuration()

       

       

            File "/tmp/pip-build-kCNhxH/scipy/setup.py", line 173, in configuration

       

       

              config.add_subpackage('scipy')

       

       

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

       

       

              caller_level = 2)

       

       

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

       

       

              caller_level = caller_level + 1)

       

       

            File "/usr/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 12, in configuration

       

       

              config.add_subpackage('integrate')

       

       

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

       

       

              caller_level = 2)

       

       

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

       

       

              caller_level = caller_level + 1)

       

       

            File "/usr/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/integrate/setup.py", line 12, in configuration

       

       

              blas_opt = get_info('blas_opt',notfound_action=2)

       

       

            File "/usr/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 356, in get_info

       

       

              return cl().get_info(notfound_action)

       

       

            File "/usr/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 514, in get_info

       

       

              raise self.notfounderror(self.notfounderror.__doc__)

       

       

          numpy.distutils.system_info.BlasNotFoundError:

       

       

              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.

       

       

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

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