Skip to content

Instantly share code, notes, and snippets.

@harshadsurdi
Created April 15, 2013 12:29
Show Gist options
  • Save harshadsurdi/5387704 to your computer and use it in GitHub Desktop.
Save harshadsurdi/5387704 to your computer and use it in GitHub Desktop.
Latest Numpy / Scipy installation on windows. While installing numpy 1.7.0 I got the following errors. Guessing by the comments in the error, I suppose it is the unavailability of the LAPACK & ATLAS libraries; but the installation of these libraries on windows is not a trivial task. Some help will be greatly appreciated.
H:\Python\numpy-1.7.0\numpy-1.7.0>python setup.py
Running from numpy source directory.
========================================================================
Starting interactive session
------------------------------------------------------------------------
Tasks:
i - Show python/platform/machine information
ie - Show environment information
c - Show C compilers information
c<name> - Set C compiler (current:None)
f - Show Fortran compilers information
f<name> - Set Fortran compiler (current:None)
e - Edit proposed sys.argv[1:].
Task aliases:
0 - Configure
1 - Build
2 - Install
2<prefix> - Install with prefix.
3 - Inplace build
4 - Source distribution
5 - Binary distribution
Proposed sys.argv = ['setup.py']
Choose a task (^D to quit, Enter to continue with setup):
------------------------------------------------------------------------
========================================================================
Starting interactive session
------------------------------------------------------------------------
Tasks:
i - Show python/platform/machine information
ie - Show environment information
c - Show C compilers information
c<name> - Set C compiler (current:None)
f - Show Fortran compilers information
f<name> - Set Fortran compiler (current:None)
e - Edit proposed sys.argv[1:].
Task aliases:
0 - Configure
1 - Build
2 - Install
2<prefix> - Install with prefix.
3 - Inplace build
4 - Source distribution
5 - Binary distribution
Proposed sys.argv = ['setup.py']
Choose a task (^D to quit, Enter to continue with setup): 2
Tasks:
i - Show python/platform/machine information
ie - Show environment information
c - Show C compilers information
c<name> - Set C compiler (current:None)
f - Show Fortran compilers information
f<name> - Set Fortran compiler (current:None)
e - Edit proposed sys.argv[1:].
Task aliases:
0 - Configure
1 - Build
2 - Install
2<prefix> - Install with prefix.
3 - Inplace build
4 - Source distribution
5 - Binary distribution
Proposed sys.argv = ['setup.py', 'install']
Choose a task (^D to quit, Enter to continue with setup):
------------------------------------------------------------------------
non-existing path in 'numpy\\distutils': 'site.cfg'
F2PY Version 2
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in ['C:\\Python27\\lib', 'C:\\', 'C:\\Python
27\\libs']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['C:\\Python27\\lib', 'C:\\', '
C:\\Python27\\libs']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['C:\\Python27\\lib', 'C:\\', 'C:\\
Python27\\libs']
NOT AVAILABLE
H:\Python\numpy-1.7.0\numpy-1.7.0\numpy\distutils\system_info.py:1494: UserWarni
ng:
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:\\Python27\\lib', 'C:\\', 'C:\\Python27\\libs'
]
NOT AVAILABLE
H:\Python\numpy-1.7.0\numpy-1.7.0\numpy\distutils\system_info.py:1503: UserWarni
ng:
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
H:\Python\numpy-1.7.0\numpy-1.7.0\numpy\distutils\system_info.py:1506: UserWarni
ng:
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
lapack_opt_info:
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in ['C:\\Python27\\lib', 'C:\\', 'C:\\Python
27\\libs']
NOT AVAILABLE
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in C:\Python27\lib
libraries lapack_atlas not found in C:\Python27\lib
libraries ptf77blas,ptcblas,atlas not found in C:\
libraries lapack_atlas not found in C:\
libraries ptf77blas,ptcblas,atlas not found in C:\Python27\libs
libraries lapack_atlas not found in C:\Python27\libs
numpy.distutils.system_info.atlas_threads_info
NOT AVAILABLE
atlas_info:
libraries f77blas,cblas,atlas not found in C:\Python27\lib
libraries lapack_atlas not found in C:\Python27\lib
libraries f77blas,cblas,atlas not found in C:\
libraries lapack_atlas not found in C:\
libraries f77blas,cblas,atlas not found in C:\Python27\libs
libraries lapack_atlas not found in C:\Python27\libs
numpy.distutils.system_info.atlas_info
NOT AVAILABLE
H:\Python\numpy-1.7.0\numpy-1.7.0\numpy\distutils\system_info.py:1408: UserWarni
ng:
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:\\Python27\\lib', 'C:\\', 'C:\\Python27\\lib
s']
NOT AVAILABLE
H:\Python\numpy-1.7.0\numpy-1.7.0\numpy\distutils\system_info.py:1419: UserWarni
ng:
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
H:\Python\numpy-1.7.0\numpy-1.7.0\numpy\distutils\system_info.py:1422: UserWarni
ng:
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 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
creating build
creating build\src.win32-2.7
creating build\src.win32-2.7\numpy
creating build\src.win32-2.7\numpy\distutils
building library "npymath" sources
'gcc' is not recognized as an internal or external command,
operable program or batch file.
Building msvcr library: "C:\Python27\libs\libmsvcr90.a" (from C:\Windows\winsxs\
x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\msvcr9
0.dll)
error: The system cannot find the file specified
------------------------------------------------------------------------
Press ENTER to close the interactive session..
========================================================================
H:\Python\numpy-1.7.0\numpy-1.7.0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment