我刚刚切换到python 3.8,却收到找不到scipy的错误,因此我尝试通过pip install scipy安装它,但出现了如下scipy所示的错误
收集科学
使用缓存的https://files.pythonhosted.org/packages/ee/5b/5afcd1c46f97b3c2ac3489dbc95d6ca28eacf8e3634e51f495da68d97f0f/scipy-1.3.1.tar.gz
安装构建依赖项...错误
错误:命令错误,退出状态为1:
命令:'c:\ users \ jaydeep \ appdata \ local \ programs \ python \ python38 \ python.exe''c:\ users \ jaydeep \ appdata \ local \ programs \ python \ python38 \ lib \ site \ packages \ pip'安装--ignore-installed --no-user --prefix'C:\ Users \ jaydeep \ AppData \ Local \ Temp \ pip-build-env-w6od1jr0 \ overlay'--no-warn-script-location --no -binary:none:--only-binary:none:-i https://pypi.org/simple-车轮设置工具'Cython> = 0.29.2''numpy == 1.13.3; python_version =='“”“”'3.5'“'”'and platform_system!='“”“'AIX'”'“'''numpy == 1.13.3; python_version =='“”“”'3.6'“'”'和platform_system!='“'”''AIX'“'”'''numpy == 1.14.5; python_version> ='“'”“ 3.7'”'“'and platform_system!='”'“''AIX'”'“'''numpy == 1.16.0; python_version =='“”“”'3.5'“'”'和platform_system =='“'”''AIX'“'”'''numpy == 1.16.0; python_version =='“”“'3.6'”'“'和
platform_system =='“”“”'AIX'“'”''numpy == 1.16.0; python_version> ='“'”'3.7'“'”'and platform_system =='“'”'AIX'“'”''
cwd:无
完整输出(295行):
忽略numpy:标记'python_version ==“ 3.5”和platform_system!=“ AIX”'与您的环境不匹配
忽略numpy:标记'python_version ==“ 3.6”和platform_system!=“ AIX”'与您的环境不匹配
忽略numpy:标记'python_version ==“ 3.5”和platform_system ==“ AIX”'与您的环境不匹配
忽略numpy:标记'python_version ==“ 3.6”和platform_system ==“ AIX”'与您的环境不匹配
忽略numpy:标记'python_version> =“ 3.7”和platform_system ==“ AIX”'与您的环境不匹配
收集轮
使用缓存的https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
收集安装工具
使用缓存的https://files.pythonhosted.org/packages/d9/de/554b6310ac87c5b921bc45634b07b11394fe63bc4cb5176f5240addf18ab/setuptools-41.6.0-py2.py3-none-any.whl
收集Cython> = 0.29.2
使用缓存的https://files.pythonhosted.org/packages/41/2c/9d873fc8d1be29af12a1d41707461399327396da10e50e183754aa4136b9/Cython-0.29.14-cp38-cp38-win_amd64.whl
收集numpy == 1.14.5
使用缓存的https://files.pythonhosted.org/packages/d5/6e/f00492653d0fdf6497a181a1c1d46bbea5a2383e7faf4c8ca6d6f3d2581d/numpy-1.14.5.zip
安装收集的软件包:wheel,setuptools,Cython,numpy
运行numpy的setup.py install:已启动
运行numpy的setup.py install:状态为“错误”
错误:命令错误,退出状态为1:
命令:'c:\ users \ jaydeep \ appdata \ local \ programs \ python \ python38 \ python.exe'-u -c'import sys,setuptools,tokenize; sys.argv [0] ='“'”'C:\ Users \ jaydeep \ AppData \ Local \ Temp \ pip-install-vvajwadr \ numpy \ setup.py'“'”'; 文件 ='“'”'C:\ Users \ jaydeep \ AppData \ Local \ Temp \ pip-install-vvajwadr \ numpy \ setup.py'“'”'; f = getattr(tokenize, '“”“'open'”'“,打开)(文件); code = f.read()。replace('”'“'\ r \ n'”'“', '“'”'\\ n'“'”'); f.close(); exec(compile(code, file ,'“'”'exec'“'”')))'安装--record'C:\ Users \ jaydeep \ AppData \ Local \ Temp \ pip-record-feg73ngb \ install-record.txt'--single-version-外部管理的--prefix'C:\ Users \ jaydeep \ AppData \ Local \ Temp \ pip-build-env-w6od1jr0 \ overlay'--compile
CWD:C:\ Users \ jaydeep \ AppData \ Local \ Temp \ pip-install-vvajwadr \ numpy \
完整输出(273行):
从numpy源目录运行。
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)
C:\Users\jaydeep\AppData\Local\Temp\pip-install-vvajwadr\numpy\numpy\distutils\misc_util.py:464: 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\\jaydeep\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\jaydeep\\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\\jaydeep\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\jaydeep\\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\\jaydeep\\appdata\\local\\programs\\python\\python38\\lib',
'C:\','c:\ users \ jaydeep \ appdata \ local \ programs \ python \ python38 \ libs'] get_default_fcompiler:匹配类型:'['gnu','intelv','absoft','compaqv','intelev','gnu95','g95', 'intelvem','intelem','flang']' 自定义GnuFCompiler 找不到可执行文件g77 找不到可执行文件f77 自定义IntelVisualFCompiler 无法找到可执行文件ifort 找不到可执行文件ifl 定制AbsoftFCompiler 找不到可执行文件f90 自定义CompaqVisualFCompiler 找不到可执行文件DF 自定义IntelItaniumVisualFCompiler 找不到可执行文件efl 定制Gnu95FCompiler 无法找到可执行文件gfortran 找不到可执行文件f95 定制G95FCompiler 找不到可执行文件g95 自定义IntelEM64VisualFCompiler 自定义IntelEM64TFCompiler 无法找到可执行文件 无法找到可执行文件efc 自定义PGroupFlangCompiler 无法找到可执行文件 不知道如何在平台“ nt”上编译Fortran代码 不可用
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\\jaydeep\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\jaydeep\\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\\jaydeep\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\jaydeep\\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\\jaydeep\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\jaydeep\\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\\jaydeep\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\jaydeep\\appdata\\local\\programs\\python\\python38\\libs']
NOT AVAILABLE
C:\Users\jaydeep\AppData\Local\Temp\pip-install-vvajwadr\numpy\numpy\distutils\system_info.py:624: 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\\jaydeep\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\jaydeep\\appdata\\local\\programs\\python\\python38\\libs']
NOT AVAILABLE
C:\Users\jaydeep\AppData\Local\Temp\pip-install-vvajwadr\numpy\numpy\distutils\system_info.py:624: 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\jaydeep\AppData\Local\Temp\pip-install-vvajwadr\numpy\numpy\distutils\system_info.py:624: 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' is not recognized as an internal or external command,
operable program or batch file.
'svnversion' is not recognized as an internal or external command,
operable program or batch file.
non-existing path in 'numpy\\distutils': 'site.cfg'
F2PY Version 2
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\\jaydeep\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\jaydeep\\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\\jaydeep\\appdata\\local\\programs\\python\\python38\\lib',
'C:\','c:\ users \ jaydeep \ appdata \ local \ programs \ python \ python38 \ libs'] 不可用
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\\jaydeep\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\jaydeep\\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 tatlas,tatlas not found in c:\users\jaydeep\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:\users\jaydeep\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:\
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:\users\jaydeep\appdata\local\programs\python\python38\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\jaydeep\appdata\local\programs\python\python38\libs
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries satlas,satlas not found in c:\users\jaydeep\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:\users\jaydeep\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:\
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:\users\jaydeep\appdata\local\programs\python\python38\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\jaydeep\appdata\local\programs\python\python38\libs
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_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\jaydeep\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:\users\jaydeep\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:\
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:\users\jaydeep\appdata\local\programs\python\python38\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\jaydeep\appdata\local\programs\python\python38\libs
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries f77blas,cblas,atlas not found in c:\users\jaydeep\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:\users\jaydeep\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:\
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:\users\jaydeep\appdata\local\programs\python\python38\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\jaydeep\appdata\local\programs\python\python38\libs
<class 'numpy.distutils.system_info.atlas_info'>
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\\jaydeep\\appdata\\local\\programs\\python\\python38\\lib', 'C:\\', 'c:\\users\\jaydeep\\appdata\\local\\programs\\python\\python38\\libs']
NOT AVAILABLE
C:\Users\jaydeep\AppData\Local\Temp\pip-install-vvajwadr\numpy\numpy\distutils\system_info.py:624: 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\jaydeep\AppData\Local\Temp\pip-install-vvajwadr\numpy\numpy\distutils\system_info.py:624: 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\jaydeep\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
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/
----------------------------------------
错误:命令错误,退出状态为1:'c:\ users \ jaydeep \ appdata \ local \ programs \ python \ python38 \ python.exe'-u -c'import sys,setuptools,tokenize; sys.argv [0] ='“'”'C:\ Users \ jaydeep \ AppData \ Local \ Temp \ pip-install-vvajwadr \ numpy \ setup.py'“'”'; 文件 ='“'”'C:\ Users \ jaydeep \ AppData \ Local \ Temp \ pip-install-vvajwadr \ numpy \ setup.py'“'”'; f = getattr(tokenize, '“”“'open'”'“,打开)(文件); code = f.read()。replace('”'“'\ r \ n'”'“', '“'”'\\ n'“'”'); f.close(); exec(compile(code, file ,'“'”'exec'“'”')))'安装--record'C:\ Users \ jaydeep \ AppData \ Local \ Temp \ pip-record-feg73ngb \ install-record.txt'--single-version-外部管理的--prefix'C:\ Users \ jaydeep \ AppData \ Local \ Temp \ pip-build-env-w6od1jr0 \ overlay'--compile检查日志以获取完整的命令输出。
错误:命令错误,退出状态为1:'c:\ users \ jaydeep \ appdata \ local \ programs \ python \ python38 \ python.exe''c:\ users \ jaydeep \ appdata \ local \ programs \ python \ python38 \ lib \ site-packages \ pip'install --ignore-installed --no-user --prefix'C:\ Users \ jaydeep \ AppData \ Local \ Temp \ pip-build-env-w6od1jr0 \ overlay'- -no-warn-script-location --no-binary:none:--only-binary:none:-i https://pypi.org/simple-wheel setuptools'Cython> = 0.29.2''numpy == 1.13.3 ; python_version =='“”“”'3.5'“'”'and platform_system!='“”“'AIX'”'“'''numpy == 1.13.3; python_version =='“”“”'3.6'“'”'和platform_system!='“'”''AIX'“'”'''numpy == 1.14.5; python_version> ='“'”“ 3.7'”'“'and platform_system!='”'“''AIX'”'“'''numpy == 1.16.0; python_version =='“”“”'3.5'“'”'和platform_system =='“'”''AIX'“'”'''numpy == 1.16.0; python_version ==''“'”'3.6'“'”'和platform_system =='“'”''AIX'“'”'''numpy == 1.16.0; python_version> ='“'”'3.7'“'”'and platform_system =='“'”'AIX'“'”''检查日志以获取完整的命令输出。