问题描述
我鼓励此消息
错误:命令错误,退出状态为1:
命令:'c:\ users \ master \ anaconda3 \ python.exe''c:\ users \ master \ anaconda3 \ lib \ site-packages \ pip'install --ignore-installed --no-user --prefix'C :\ Users \ master \ AppData \ Local \ Temp \ pip-build-env-poq7binu \ overlay'--no-warn-script-location --no-binary:none:--only-binary:none:-i { {3}}-'cython> = 0.29''numpy == 1.14.5; python_version ='“'”'3.7'“'”''setuptools setuptools_scm滚轮
cwd:无
完整输出(579行):
忽略numpy:标记'python_version = 0.29
使用缓存的Cython-0.29.21-cp38-cp38-win32.whl(1.6 MB)
收集numpy == 1.16.0
使用缓存的numpy-1.16.0.zip(5.1 MB)
收集安装工具
使用缓存的setuptools-49.6.0-py3-none-any.whl(803 kB)
收集setuptools_scm
使用缓存的setuptools_scm-4.1.2-py2.py3-none-any.whl(27 kB)
收集轮
使用缓存的wheel-0.35.1-py2.py3-none-any.whl(33 kB)
用于收集包裹的建筑轮子:numpy
numpy的构建轮(setup.py):已启动
numpy的构建轮(setup.py):状态为“错误”
错误:命令错误,退出状态为1:
命令:'c:\ users \ master \ anaconda3 \ python.exe'-u -c'import sys,setuptools,tokenize; sys.argv [0] ='“'”'C:\ Users \ master \ AppData \ Local \ Temp \ pip-install-9scxooph \ numpy \ setup.py'“'”'; 文件 ='“'”'C:\ Users \ master \ AppData \ Local \ Temp \ pip-install-9scxooph \ numpy \ setup.py'“'”'; f = getattr(tokenize, '“”“'open'”'“,打开)(文件); code = f.read()。replace('”'“'\ r \ n'”'“', '“'”'\\ n'“'”'); f.close(); exec(compile(code, file ,'“'”'exec'“'”')))'bdist_wheel -d'C:\ Users \ master \ AppData \ Local \ Temp \ pip-wheel-coacvim_'
CWD:C:\ Users \ master \ AppData \ Local \ Temp \ pip-install-9scxooph \ numpy
完整输出(264行):
从numpy源目录运行。
C:\ Users \ master \ AppData \ Local \ Temp \ pip-install-9scxooph \ numpy \ numpy \ distutils \ misc_util.py:476:语法警告:带文字的“ is”。你是说“ ==”吗?
返回is_string(s)和(s中的'*'或s中的'?'
blas_opt_info:
blas_mkl_info:
numpy.distutils中没有名为“ numpy.distutils._msvccompiler”的模块;从distutils尝试
自定义MSVCCompiler
在['c:\ users \ master \ anaconda3 \ lib','C:\','c:\ users \ master \ anaconda3 \ libs'中找不到库mkl_rt
不可用
blis_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries blis not found in ['c:\\users\\master\\anaconda3\\lib','C:\\','c:\\users\\master\\anaconda3\\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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\libs']
NOT AVAILABLE
atlas_blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries f77blas,cblas,'c:\\users\\master\\anaconda3\\libs']
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
C:\Users\master\AppData\Local\Temp\pip-install-9scxooph\numpy\numpy\distutils\system_info.py:625: 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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\libs']
NOT AVAILABLE
C:\Users\master\AppData\Local\Temp\pip-install-9scxooph\numpy\numpy\distutils\system_info.py:625: 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\master\AppData\Local\Temp\pip-install-9scxooph\numpy\numpy\distutils\system_info.py:625: 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.
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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\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\master\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries tatlas,tatlas not found in c:\users\master\anaconda3\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\master\anaconda3\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries tatlas,tatlas not found in c:\users\master\anaconda3\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 lapack_atlas not found in c:\users\master\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries satlas,satlas not found in c:\users\master\anaconda3\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\master\anaconda3\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries satlas,satlas not found in c:\users\master\anaconda3\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 lapack_atlas not found in c:\users\master\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries ptf77blas,atlas not found in c:\users\master\anaconda3\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,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\master\anaconda3\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries ptf77blas,atlas not found in c:\users\master\anaconda3\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 lapack_atlas not found in c:\users\master\anaconda3\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries f77blas,atlas not found in c:\users\master\anaconda3\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,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\master\anaconda3\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries f77blas,atlas not found in c:\users\master\anaconda3\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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\libs']
NOT AVAILABLE
C:\Users\master\AppData\Local\Temp\pip-install-9scxooph\numpy\numpy\distutils\system_info.py:625: 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\master\AppData\Local\Temp\pip-install-9scxooph\numpy\numpy\distutils\system_info.py:625: 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\master\anaconda3\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,build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build\src.win32-3.8
creating build\src.win32-3.8\numpy
creating build\src.win32-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 "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Failed building wheel for numpy
Running setup.py clean for numpy
ERROR: Command errored out with exit status 1:
command: 'c:\users\master\anaconda3\python.exe' -u -c 'import sys,setuptools,tokenize; sys.argv[0] = '"'"'C:\\Users\\master\\AppData\\Local\\Temp\\pip-install-9scxooph\\numpy\\setup.py'"'"'; __file__='"'"'C:\\Users\\master\\AppData\\Local\\Temp\\pip-install-9scxooph\\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
cwd: C:\Users\master\AppData\Local\Temp\pip-install-9scxooph\numpy
Complete output (10 lines):
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
无法建立numpy
建议:无法为不使用PEP 517的numpy制作轮子。为此,pip将退回到旧版“ setup.py install”。 pip 21.0将删除对此功能的支持。可能的替代方法是解决上面报告的车轮制造问题。您可以在https://pypi.org/simple上找到有关此问题的讨论。
安装收集的软件包:cython,numpy,setuptools,setuptools-scm,wheel
运行numpy的setup.py install:已启动
为numpy运行setup.py install:状态为“错误”
错误:命令错误,退出状态为1:
命令:'c:\ users \ master \ anaconda3 \ python.exe'-u -c'import sys,setuptools,tokenize; sys.argv [0] ='“'”'C:\ Users \ master \ AppData \ Local \ Temp \ pip-install-9scxooph \ numpy \ setup.py'“'”'; 文件 ='“'”'C:\ Users \ master \ AppData \ Local \ Temp \ pip-install-9scxooph \ numpy \ setup.py'“'”'; f = getattr(tokenize, '“”“'open'”'“,打开)(文件); code = f.read()。replace('”'“'\ r \ n'”'“', ''''“'\\ n'”'“'); f.close(); exec(compile(code, file ,'”'“'exec'”'“')))'安装--record'C:\ Users \ master \ AppData \ Local \ Temp \ pip-record-jzqwisow \ install-record.txt'--single-version-外部管理的--prefix'C:\ Users \ master \ AppData \ Local \ Temp \ pip-build-env-poq7binu \ overlay'--compile --install-headers'C:\ Users \ master \ AppData \ Local \ Temp \ pip-build-env-poq7binu \ overlay \ Include \ numpy '
cwd:C:\ Users \ master \ AppData \ Local \ Temp \ pip-install-9scxooph \ numpy
完整输出(267行):
从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)
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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\libs']
get_default_fcompiler: matching types: '['gnu','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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\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,'c:\\users\\master\\anaconda3\\libs']
NOT AVAILABLE
atlas_blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries f77blas,'c:\\users\\master\\anaconda3\\libs']
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
C:\Users\master\AppData\Local\Temp\pip-install-9scxooph\numpy\numpy\distutils\system_info.py:625: 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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\libs']
NOT AVAILABLE
C:\Users\master\AppData\Local\Temp\pip-install-9scxooph\numpy\numpy\distutils\system_info.py:625: 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\master\AppData\Local\Temp\pip-install-9scxooph\numpy\numpy\distutils\system_info.py:625: 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.
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\\master\\anaconda3\\lib','c:\\users\\master\\anaconda3\\libs']
NOT AVAILABLE
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)