Lapsack libraries not found
Hi,
I received a long list of error messages when I tried to install numpy on my Windows machine with git, including Atlas libraries not found, Blas libraries not found, Lapack libraries not found...
Does anyone know what went wrong? I followed the exact installing instructions...
Thanks!
Comments (5)
-
-
No it still told me: no module named numpy...
Don't know if it helps but below are all the messages I received installing numpy:
C:\Users\kzheng\AppData\Local\Programs\Git\numpy>pypy setup.py install Running from numpy source directory. C:\pypy-2.5.1-win32\lib-python\2.7\distutils\dist.py:267: UserWarning: Unknown d istribution option: 'test_suite' warnings.warn(msg) non-existing path in 'numpy\distutils': 'site.cfg' non-existing path in 'numpy\f2py': 'docs' non-existing path in 'numpy\f2py': 'f2py.1' F2PY Version 2 blas_opt_info: blas_mkl_info: libraries mkl,vml,guide not found in ['C:\'] NOT AVAILABLE
openblas_info: libraries openblas not found in ['C:\'] NOT AVAILABLE
atlas_blas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in ['C:\'] NOT AVAILABLE
atlas_blas_info: libraries f77blas,cblas,atlas not found in ['C:\'] NOT AVAILABLE
C:\Users\kzheng\AppData\Local\Programs\Git\numpy\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 ['C:\'] NOT AVAILABLE
C:\Users\kzheng\AppData\Local\Programs\Git\numpy\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
C:\Users\kzheng\AppData\Local\Programs\Git\numpy\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) NOT AVAILABLE
non-existing path in 'numpy\lib': 'benchmarks' lapack_opt_info: openblas_lapack_info: libraries openblas not found in ['C:\'] NOT AVAILABLE
lapack_mkl_info: mkl_info: libraries mkl,vml,guide not found in ['C:\'] NOT AVAILABLE
NOT AVAILABLE
atlas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in C:\ libraries lapack_atlas not found in C:\ numpy.distutils.system_info.atlas_threads_info NOT AVAILABLE
atlas_info: libraries f77blas,cblas,atlas not found in C:\ libraries lapack_atlas not found in C:\ numpy.distutils.system_info.atlas_info NOT AVAILABLE
C:\Users\kzheng\AppData\Local\Programs\Git\numpy\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 ['C:\'] NOT AVAILABLE
C:\Users\kzheng\AppData\Local\Programs\Git\numpy\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
C:\Users\kzheng\AppData\Local\Programs\Git\numpy\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
Warning: Using unoptimized lapack
non-existing path in 'numpy\linalg': 'C:\pypy-2.5.1-win32/Libs' C:\pypy-2.5.1-win32\lib-python\2.7\distutils\dist.py:267: UserWarning: Unknown d istribution option: 'define_macros' warnings.warn(msg) running install running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler opti ons running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler opt ions running build_src build_src building py_modules sources building library "npymath" sources No module named numpy.distutils.msvccompiler in numpy.distutils; trying from dis tutils error: Unable to find vcvarsall.bat
-
Ah, thanks, the actual error is down at the end of the log. Can you install the latest PyPy release (2.6.1) and try again? We aren't compatible with PyPy 2.5.1 any more.
-
Hi,
I get the same problem with the latest Pypy 2.6.1 on Linux.
Thanks
-
Brian, the error is "unable to find vcvarsall.bat". I doubt you get that on Linux :)
Unknown Name, you need a compiler to build numpy for pypy. The one we test with is available here http://www.microsoft.com/en-us/download/details.aspx?id=44266
- Log in to comment
These are just warnings and/or merely informational messages. None of those libraries are required, though they speed up some operations in
numpy.linalg
. You probably installednumpy
correctly. Have you checked that you can import and use it?