Collecting gensim
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Collecting scipy>=0.7.0 (from gensim)
Using cached scipy-0.16.1.tar.gz
Collecting smart-open>=1.2.1 (from gensim)
Using cached smart_open-1.3.0-py2-none-any.whl
Collecting six>=1.5.0 (from gensim)
Using cached six-1.10.0-py2.py3-none-any.whl
Requirement already up-to-date: numpy>=1.3 in /usr/local/lib/python2.7/dist-packages (from gensim)
Collecting boto>=2.32 (from smart-open>=1.2.1->gensim)
Using cached boto-2.38.0-py2.py3-none-any.whl
Collecting httpretty==0.8.6 (from smart-open>=1.2.1->gensim)
Using cached httpretty-0.8.6-py2-none-any.whl
Collecting bz2file (from smart-open>=1.2.1->gensim)
Collecting requests (from smart-open>=1.2.1->gensim)
Using cached requests-2.8.1-py2.py3-none-any.whl
Building wheels for collected packages: scipy
Running setup.py bdist_wheel for scipy
Complete output from command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-FbkHxP/scipy/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmp_sllXepip-wheel-:
lapack_opt_info:
openblas_lapack_info:
libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas,tatlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries tatlas,tatlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
libraries tatlas,tatlas not found in /usr/lib/x86_64-linux-gnu
libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries satlas,satlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries satlas,satlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
libraries satlas,satlas not found in /usr/lib/x86_64-linux-gnu
libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_3_10_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
libraries lapack_atlas not found in /usr/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/lib/x86_64-linux-gnu
libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
<class '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
libraries lapack_atlas not found in /usr/lib
libraries f77blas,cblas,atlas not found in /usr/lib/x86_64-linux-gnu
libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
/usr/local/lib/python2.7/dist-packages/numpy/distutils/system_info.py:1552: 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', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
/usr/local/lib/python2.7/dist-packages/numpy/distutils/system_info.py:1563: 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/local/lib/python2.7/dist-packages/numpy/distutils/system_info.py:1566: 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-FbkHxP/scipy/setup.py", line 253, in <module>
setup_package()
File "/tmp/pip-build-FbkHxP/scipy/setup.py", line 250, in setup_package
setup(**metadata)
File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/core.py", line 135, in setup
config = configuration()
File "/tmp/pip-build-FbkHxP/scipy/setup.py", line 175, in configuration
config.add_subpackage('scipy')
File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 1001, in add_subpackage
caller_level = 2)
File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 970, in get_subpackage
caller_level = caller_level + 1)
File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 907, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "scipy/setup.py", line 15, in configuration
config.add_subpackage('linalg')
File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 1001, in add_subpackage
caller_level = 2)
File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 970, in get_subpackage
caller_level = caller_level + 1)
File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 907, 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
----------------------------------------
Failed building wheel for scipy
Failed to build scipy
Installing collected packages: scipy, boto, httpretty, bz2file, requests, smart-open, six, gensim
Found existing installation: scipy 0.13.3
DEPRECATION: Uninstalling a distutils installed project (scipy) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling scipy-0.13.3:
Successfully uninstalled scipy-0.13.3
Running setup.py install for scipy
Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-FbkHxP/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-GjC9Wi-record/install-record.txt --single-version-externally-managed --compile:
lapack_opt_info:
openblas_lapack_info:
libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas,tatlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries tatlas,tatlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
libraries tatlas,tatlas not found in /usr/lib/x86_64-linux-gnu
libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries satlas,satlas not found in /usr/local/lib
libraries lapack_atlas not found in /usr/local/lib
libraries satlas,satlas not found in /usr/lib
libraries lapack_atlas not found in /usr/lib
libraries satlas,satlas not found in /usr/lib/x86_64-linux-gnu
libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_3_10_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
libraries lapack_atlas not found in /usr/lib
libraries ptf77blas,ptcblas,atlas not found in /usr/lib/x86_64-linux-gnu
libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
<class '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
libraries lapack_atlas not found in /usr/lib
libraries f77blas,cblas,atlas not found in /usr/lib/x86_64-linux-gnu
libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
/usr/local/lib/python2.7/dist-packages/numpy/distutils/system_info.py:1552: 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', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
/usr/local/lib/python2.7/dist-packages/numpy/distutils/system_info.py:1563: 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/local/lib/python2.7/dist-packages/numpy/distutils/system_info.py:1566: 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-FbkHxP/scipy/setup.py", line 253, in <module>
setup_package()
File "/tmp/pip-build-FbkHxP/scipy/setup.py", line 250, in setup_package
setup(**metadata)
File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/core.py", line 135, in setup
config = configuration()
File "/tmp/pip-build-FbkHxP/scipy/setup.py", line 175, in configuration
config.add_subpackage('scipy')
File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 1001, in add_subpackage
caller_level = 2)
File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 970, in get_subpackage
caller_level = caller_level + 1)
File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 907, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "scipy/setup.py", line 15, in configuration
config.add_subpackage('linalg')
File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 1001, in add_subpackage
caller_level = 2)
File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 970, in get_subpackage
caller_level = caller_level + 1)
File "/usr/local/lib/python2.7/dist-packages/numpy/distutils/misc_util.py", line 907, 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
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-FbkHxP/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-GjC9Wi-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-FbkHxP/scipypip install atlas
pip install --upgrade scipy
Hi Lev,Thanks for answer.pip install atlasYes:Successfully built atlasInstalling collected packages: threadpool, atlasSuccessfully installed atlas-0.27.0 threadpool-1.3.2
I have exactly the same problem with Scipy when I try to install gensim package.
Did you finally find any solution?