python numpy库安装winerror5_Error when installing numpy thru pip on Windows

尝试在Windows环境下使用pip安装NumPy时遇到错误,显示缺少Microsoft Visual C++ 14.0并提示安装Microsoft Visual C++ Build Tools。此外,在构建过程中未能找到必要的库文件。

Run the code with no cache dir param but no success, on the first moment, looks good but the same error. Also, I already have the Anaconda, this was my first workaround for the issue, once I need python for my test on university

`C:\Users\Leo>pip3 install numpy --no-cache-dir

Collecting numpy

Downloading https://files.pythonhosted.org/packages/93/48/956b9dcdddfcedb1705839280e02cbfeb2861ed5d7f59241210530867d5b/numpy-1.16.3.zip (5.1MB)

|████████████████████████████████| 5.1MB 3.2MB/s

Building wheels for collected packages: numpy

Building wheel for numpy (setup.py) ... error

ERROR: Complete output from command 'c:\users\leo\appdata\local\programs\python\python38\python.exe' -u -c 'import setuptools, tokenize;file='"'"'C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Leo\AppData\Local\Temp\pip-wheel-otjo0nri' --python-tag cp38:

ERROR: Running from numpy source directory.

C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy\numpy\distutils\misc_util.py:476: SyntaxWarning: "is" with a literal. Did you mean "=="?

return is_string(s) and ('*' in s or '?' is s)

blas_opt_info:

blas_mkl_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries mkl_rt not found in ['c:\users\leo\appdata\local\programs\python\python38\lib', 'C:\', 'c:\users\leo\appdata\local\programs\python\python38\libs']

NOT AVAILABLE

blis_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries blis not found in ['c:\users\leo\appdata\local\programs\python\python38\lib', 'C:\', 'c:\users\leo\appdata\local\programs\python\python38\libs']

NOT AVAILABLE

openblas_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries openblas not found in ['c:\users\leo\appdata\local\programs\python\python38\lib', 'C:\', 'c:\users\leo\appdata\local\programs\python\python38\libs']

get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'

customize GnuFCompiler

Could not locate executable g77

Could not locate executable f77

customize IntelVisualFCompiler

Could not locate executable ifort

Could not locate executable ifl

customize AbsoftFCompiler

Could not locate executable f90

customize CompaqVisualFCompiler

Could not locate executable DF

customize IntelItaniumVisualFCompiler

Could not locate executable efl

customize Gnu95FCompiler

Could not locate executable gfortran

Could not locate executable f95

customize G95FCompiler

Could not locate executable g95

customize IntelEM64VisualFCompiler

customize IntelEM64TFCompiler

Could not locate executable efort

Could not locate executable efc

customize PGroupFlangCompiler

Could not locate executable flang

don't know how to compile Fortran code on platform 'nt'

NOT AVAILABLE

atlas_3_10_blas_threads_info:

Setting PTATLAS=ATLAS

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries tatlas not found in ['c:\users\leo\appdata\local\programs\python\python38\lib', 'C:\', 'c:\users\leo\appdata\local\programs\python\python38\libs']

NOT AVAILABLE

atlas_3_10_blas_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries satlas not found in ['c:\users\leo\appdata\local\programs\python\python38\lib', 'C:\', 'c:\users\leo\appdata\local\programs\python\python38\libs']

NOT AVAILABLE

atlas_blas_threads_info:

Setting PTATLAS=ATLAS

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries ptf77blas,ptcblas,atlas not found in ['c:\users\leo\appdata\local\programs\python\python38\lib', 'C:\', 'c:\users\leo\appdata\local\programs\python\python38\libs']

NOT AVAILABLE

atlas_blas_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries f77blas,cblas,atlas not found in ['c:\users\leo\appdata\local\programs\python\python38\lib', 'C:\', 'c:\users\leo\appdata\local\programs\python\python38\libs']

NOT AVAILABLE

accelerate_info:

NOT AVAILABLE

C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy\numpy\distutils\system_info.py:638: 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.

self.calc_info()

blas_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries blas not found in ['c:\users\leo\appdata\local\programs\python\python38\lib', 'C:\', 'c:\users\leo\appdata\local\programs\python\python38\libs']

NOT AVAILABLE

C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy\numpy\distutils\system_info.py:638: 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.

self.calc_info()

blas_src_info:

NOT AVAILABLE

C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy\numpy\distutils\system_info.py:638: 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.

self.calc_info()

NOT AVAILABLE

'svnversion' nÆo ‚ reconhecido como um comando interno

ou externo, um programa oper vel ou um arquivo em lotes.

non-existing path in 'numpy\distutils': 'site.cfg'

lapack_opt_info:

lapack_mkl_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries mkl_rt not found in ['c:\users\leo\appdata\local\programs\python\python38\lib', 'C:\', 'c:\users\leo\appdata\local\programs\python\python38\libs']

NOT AVAILABLE

openblas_lapack_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries openblas not found in ['c:\users\leo\appdata\local\programs\python\python38\lib', 'C:\', 'c:\users\leo\appdata\local\programs\python\python38\libs']

NOT AVAILABLE

openblas_clapack_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries openblas,lapack not found in ['c:\users\leo\appdata\local\programs\python\python38\lib', 'C:\', 'c:\users\leo\appdata\local\programs\python\python38\libs']

NOT AVAILABLE

atlas_3_10_threads_info:

Setting PTATLAS=ATLAS

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries tatlas,tatlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in C:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries tatlas,tatlas not found in C:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries tatlas,tatlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

NOT AVAILABLE

atlas_3_10_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries satlas,satlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in C:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries satlas,satlas not found in C:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries satlas,satlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

NOT AVAILABLE

atlas_threads_info:

Setting PTATLAS=ATLAS

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries ptf77blas,ptcblas,atlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in C:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries ptf77blas,ptcblas,atlas not found in C:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries ptf77blas,ptcblas,atlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

NOT AVAILABLE

atlas_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries f77blas,cblas,atlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in C:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries f77blas,cblas,atlas not found in C:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries f77blas,cblas,atlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

NOT AVAILABLE

lapack_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack not found in ['c:\users\leo\appdata\local\programs\python\python38\lib', 'C:\', 'c:\users\leo\appdata\local\programs\python\python38\libs']

NOT AVAILABLE

C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy\numpy\distutils\system_info.py:638: 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.

self.calc_info()

lapack_src_info:

NOT AVAILABLE

C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy\numpy\distutils\system_info.py:638: 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.

self.calc_info()

NOT AVAILABLE

c:\users\leo\appdata\local\programs\python\python38\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'define_macros'

warnings.warn(msg)

running bdist_wheel

running build

running config_cc

unifing config_cc, config, build_clib, build_ext, build commands --compiler options

running config_fc

unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options

running build_src

build_src

building py_modules sources

creating build

creating build\src.win-amd64-3.8

creating build\src.win-amd64-3.8\numpy

creating build\src.win-amd64-3.8\numpy\distutils

building library "npymath" sources

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

ERROR: Failed building wheel for numpy

Running setup.py clean for numpy

ERROR: Complete output from command 'c:\users\leo\appdata\local\programs\python\python38\python.exe' -u -c 'import setuptools, tokenize;file='"'"'C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' clean --all:

ERROR: Running from numpy source directory.

setup.py clean is not supported, use one of the following instead:

- `git clean -xdf` (cleans all files)

- `git clean -Xdf` (cleans all versioned files, doesn't touch

files that aren't checked into the git repo)

Add --force to your command to use it anyway if you must (unsupported).

ERROR: Failed cleaning build dir for numpy

Failed to build numpy

Installing collected packages: numpy

Running setup.py install for numpy ... error

ERROR: Complete output from command 'c:\users\leo\appdata\local\programs\python\python38\python.exe' -u -c 'import setuptools, tokenize;file='"'"'C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Leo\AppData\Local\Temp\pip-record-sy0t4ryb\install-record.txt' --single-version-externally-managed --compile:

ERROR: Running from numpy source directory.

Note: if you need reliable uninstall behavior, then install

with pip instead of using `setup.py install`:

- `pip install .` (from a git repo or downloaded source

release)

- `pip install numpy` (last NumPy release on PyPi)

blas_opt_info:

blas_mkl_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries mkl_rt not found in ['c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\libs']

NOT AVAILABLE

blis_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries blis not found in ['c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\libs']

NOT AVAILABLE

openblas_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries openblas not found in ['c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\libs']

get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'

customize GnuFCompiler

Could not locate executable g77

Could not locate executable f77

customize IntelVisualFCompiler

Could not locate executable ifort

Could not locate executable ifl

customize AbsoftFCompiler

Could not locate executable f90

customize CompaqVisualFCompiler

Could not locate executable DF

customize IntelItaniumVisualFCompiler

Could not locate executable efl

customize Gnu95FCompiler

Could not locate executable gfortran

Could not locate executable f95

customize G95FCompiler

Could not locate executable g95

customize IntelEM64VisualFCompiler

customize IntelEM64TFCompiler

Could not locate executable efort

Could not locate executable efc

customize PGroupFlangCompiler

Could not locate executable flang

don't know how to compile Fortran code on platform 'nt'

NOT AVAILABLE

atlas_3_10_blas_threads_info:

Setting PTATLAS=ATLAS

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries tatlas not found in ['c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\libs']

NOT AVAILABLE

atlas_3_10_blas_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries satlas not found in ['c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\libs']

NOT AVAILABLE

atlas_blas_threads_info:

Setting PTATLAS=ATLAS

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries ptf77blas,ptcblas,atlas not found in ['c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\libs']

NOT AVAILABLE

atlas_blas_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries f77blas,cblas,atlas not found in ['c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\libs']

NOT AVAILABLE

accelerate_info:

NOT AVAILABLE

C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy\numpy\distutils\system_info.py:638: 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.

self.calc_info()

blas_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries blas not found in ['c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\libs']

NOT AVAILABLE

C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy\numpy\distutils\system_info.py:638: 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.

self.calc_info()

blas_src_info:

NOT AVAILABLE

C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy\numpy\distutils\system_info.py:638: 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.

self.calc_info()

NOT AVAILABLE

'svnversion' nÆo ‚ reconhecido como um comando interno

ou externo, um programa oper vel ou um arquivo em lotes.

non-existing path in 'numpy\\distutils': 'site.cfg'

lapack_opt_info:

lapack_mkl_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries mkl_rt not found in ['c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\libs']

NOT AVAILABLE

openblas_lapack_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries openblas not found in ['c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\libs']

NOT AVAILABLE

openblas_clapack_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries openblas,lapack not found in ['c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\libs']

NOT AVAILABLE

atlas_3_10_threads_info:

Setting PTATLAS=ATLAS

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries tatlas,tatlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in C:\

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries tatlas,tatlas not found in C:\

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries tatlas,tatlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

NOT AVAILABLE

atlas_3_10_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries satlas,satlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in C:\

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries satlas,satlas not found in C:\

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries satlas,satlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

NOT AVAILABLE

atlas_threads_info:

Setting PTATLAS=ATLAS

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries ptf77blas,ptcblas,atlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in C:\

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries ptf77blas,ptcblas,atlas not found in C:\

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries ptf77blas,ptcblas,atlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

NOT AVAILABLE

atlas_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries f77blas,cblas,atlas not found in c:\users\leo\appdata\local\programs\python\python38\lib

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in C:\

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries f77blas,cblas,atlas not found in C:\

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack_atlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries f77blas,cblas,atlas not found in c:\users\leo\appdata\local\programs\python\python38\libs

NOT AVAILABLE

lapack_info:

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

customize MSVCCompiler

libraries lapack not found in ['c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\leo\\appdata\\local\\programs\\python\\python38\\libs']

NOT AVAILABLE

C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy\numpy\distutils\system_info.py:638: 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.

self.calc_info()

lapack_src_info:

NOT AVAILABLE

C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy\numpy\distutils\system_info.py:638: 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.

self.calc_info()

NOT AVAILABLE

c:\users\leo\appdata\local\programs\python\python38\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'define_macros'

warnings.warn(msg)

running install

running build

running config_cc

unifing config_cc, config, build_clib, build_ext, build commands --compiler options

running config_fc

unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options

running build_src

build_src

building py_modules sources

building library "npymath" sources

No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

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

ERROR: Command "'c:\users\leo\appdata\local\programs\python\python38\python.exe' -u -c 'import setuptools, tokenize;file='"'"'C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Leo\AppData\Local\Temp\pip-record-sy0t4ryb\install-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Leo\AppData\Local\Temp\pip-install-cy037osi\numpy`

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值