GerapyAutoExtractor icon indicating copy to clipboard operation
GerapyAutoExtractor copied to clipboard

Bug of Gerapy Auto Extractor 安装时出现问题

Open dota-player opened this issue 4 years ago • 3 comments

错误代码如下: 之前运行好好的,总是卡在,buliding wheels这里,我试了三台电脑,都是同样的问题。 能不能解释一下错误的原因和解决方案?stackoverflow上面说用conda安装就能解决,我试过依然不行。 非常感谢。 Building wheels for collected packages: lxml, numpy Building wheel for lxml (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\lxml_0b1625f8d4d64eccacc995673e930279\setup.py'"'"'; file='"'"'C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\lxml_0b1625f8d4d64eccacc995673e930279\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\SinoCBD\AppData\Local\Temp\pip-wheel-iu5h936t' cwd: C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\lxml_0b1625f8d4d64eccacc995673e930279
Complete output (97 lines): Building lxml version 4.3.3. Building without Cython. ERROR: b"'xslt-config' \xb2\xbb\xca\xc7\xc4\xda\xb2\xbf\xbb\xf2\xcd\xe2\xb2\xbf\xc3\xfc\xc1\xee\xa3\xac\xd2\xb2\xb2\xbb\xca\xc7\xbf\xc9\xd4\xcb\xd0\xd0\xb5\xc4\xb3\xcc\xd0\xf2\r\n\xbb\xf2\xc5\xfa\xb4\xa6\xc0\xed\xce\xc4\xbc\xfe\xa1\xa3\r\n" ** make sure the development packages of libxml2 and libxslt are installed **

Using build configuration of libxslt running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.8 creating build\lib.win-amd64-3.8\lxml copying src\lxml\builder.py -> build\lib.win-amd64-3.8\lxml copying src\lxml\cssselect.py -> build\lib.win-amd64-3.8\lxml copying src\lxml\doctestcompare.py -> build\lib.win-amd64-3.8\lxml copying src\lxml\ElementInclude.py -> build\lib.win-amd64-3.8\lxml copying src\lxml\pyclasslookup.py -> build\lib.win-amd64-3.8\lxml copying src\lxml\sax.py -> build\lib.win-amd64-3.8\lxml copying src\lxml\usedoctest.py -> build\lib.win-amd64-3.8\lxml copying src\lxml_elementpath.py -> build\lib.win-amd64-3.8\lxml copying src\lxml_init_.py -> build\lib.win-amd64-3.8\lxml creating build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes_init_.py -> build\lib.win-amd64-3.8\lxml\includes creating build\lib.win-amd64-3.8\lxml\html copying src\lxml\html\builder.py -> build\lib.win-amd64-3.8\lxml\html copying src\lxml\html\clean.py -> build\lib.win-amd64-3.8\lxml\html copying src\lxml\html\defs.py -> build\lib.win-amd64-3.8\lxml\html copying src\lxml\html\diff.py -> build\lib.win-amd64-3.8\lxml\html copying src\lxml\html\ElementSoup.py -> build\lib.win-amd64-3.8\lxml\html copying src\lxml\html\formfill.py -> build\lib.win-amd64-3.8\lxml\html copying src\lxml\html\html5parser.py -> build\lib.win-amd64-3.8\lxml\html copying src\lxml\html\soupparser.py -> build\lib.win-amd64-3.8\lxml\html copying src\lxml\html\usedoctest.py -> build\lib.win-amd64-3.8\lxml\html copying src\lxml\html_diffcommand.py -> build\lib.win-amd64-3.8\lxml\html copying src\lxml\html_html5builder.py -> build\lib.win-amd64-3.8\lxml\html copying src\lxml\html_setmixin.py -> build\lib.win-amd64-3.8\lxml\html copying src\lxml\html_init_.py -> build\lib.win-amd64-3.8\lxml\html creating build\lib.win-amd64-3.8\lxml\isoschematron copying src\lxml\isoschematron_init_.py -> build\lib.win-amd64-3.8\lxml\isoschematron copying src\lxml\etree.h -> build\lib.win-amd64-3.8\lxml copying src\lxml\etree_api.h -> build\lib.win-amd64-3.8\lxml copying src\lxml\lxml.etree.h -> build\lib.win-amd64-3.8\lxml copying src\lxml\lxml.etree_api.h -> build\lib.win-amd64-3.8\lxml copying src\lxml\includes\c14n.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\config.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\dtdvalid.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\etreepublic.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\htmlparser.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\relaxng.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\schematron.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\tree.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\uri.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\xinclude.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\xmlerror.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\xmlparser.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\xmlschema.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\xpath.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\xslt.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes_init_.pxd -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\etree_defs.h -> build\lib.win-amd64-3.8\lxml\includes copying src\lxml\includes\lxml-version.h -> build\lib.win-amd64-3.8\lxml\includes creating build\lib.win-amd64-3.8\lxml\isoschematron\resources creating build\lib.win-amd64-3.8\lxml\isoschematron\resources\rng copying src\lxml\isoschematron\resources\rng\iso-schematron.rng -> build\lib.win-amd64-3.8\lxml\isoschematron\resources\rng creating build\lib.win-amd64-3.8\lxml\isoschematron\resources\xsl copying src\lxml\isoschematron\resources\xsl\RNG2Schtrn.xsl -> build\lib.win-amd64-3.8\lxml\isoschematron\resources\xsl copying src\lxml\isoschematron\resources\xsl\XSD2Schtrn.xsl -> build\lib.win-amd64-3.8\lxml\isoschematron\resources\xsl creating build\lib.win-amd64-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_abstract_expand.xsl -> build\lib.win-amd64-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_dsdl_include.xsl -> build\lib.win-amd64-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_message.xsl -> build\lib.win-amd64-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_schematron_skeleton_for_xslt1.xsl -> build\lib.win-amd64-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\iso_svrl_for_xslt1.xsl -> build\lib.win-amd64-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 copying src\lxml\isoschematron\resources\xsl\iso-schematron-xslt1\readme.txt -> build\lib.win-amd64-3.8\lxml\isoschematron\resources\xsl\iso-schematron-xslt1 running build_ext building 'lxml.etree' extension creating build\temp.win-amd64-3.8 creating build\temp.win-amd64-3.8\Release creating build\temp.win-amd64-3.8\Release\src creating build\temp.win-amd64-3.8\Release\src\lxml C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DCYTHON_CLINE_IN_TRACEBACK=0 -Isrc -Isrc\lxml\includes -IC:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\include -IC:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" /Tcsrc\lxml\etree.c /Fobuild\temp.win-amd64-3.8\Release\src\lxml\etree.obj -w cl: 命令行 warning D9025 :正在重写“/W3”(用“/w”) etree.c C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\include\pyconfig.h(59): fatal error C1083: 无法打开包括文件: “io.h”: No such file or directory Compile failed: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit status 2 creating Users creating Users\SinoCBD creating Users\SinoCBD\AppData creating Users\SinoCBD\AppData\Local creating Users\SinoCBD\AppData\Local\Temp C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I/usr/include/libxml2 "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" /TcC:\Users\SinoCBD\AppData\Local\Temp\xmlXPathInita_eu5hb1.c /FoUsers\SinoCBD\AppData\Local\Temp\xmlXPathInita_eu5hb1.obj xmlXPathInita_eu5hb1.c C:\Users\SinoCBD\AppData\Local\Temp\xmlXPathInita_eu5hb1.c(1): fatal error C1083: 无法打开包括文件: “libxml/xpath.h”: No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit status 2


Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?



ERROR: Failed building wheel for lxml Running setup.py clean for lxml Building wheel for numpy (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\setup.py'"'"'; file='"'"'C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\SinoCBD\AppData\Local\Temp\pip-wheel-vxyalp67' cwd: C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241
Complete output (309 lines): Running from numpy source directory. C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\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\SinoCBD\AppData\Local\Programs\Python\Python38\lib', 'C:\', 'C:\Users\SinoCBD\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\SinoCBD\AppData\Local\Programs\Python\Python38\lib', 'C:\', 'C:\Users\SinoCBD\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\SinoCBD\AppData\Local\Programs\Python\Python38\lib', 'C:\', 'C:\Users\SinoCBD\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\SinoCBD\AppData\Local\Programs\Python\Python38\lib', 'C:\', 'C:\Users\SinoCBD\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\SinoCBD\AppData\Local\Programs\Python\Python38\lib', 'C:\', 'C:\Users\SinoCBD\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\SinoCBD\AppData\Local\Programs\Python\Python38\lib', 'C:\', 'C:\Users\SinoCBD\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\SinoCBD\AppData\Local\Programs\Python\Python38\lib', 'C:\', 'C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\libs'] NOT AVAILABLE

accelerate_info: NOT AVAILABLE

C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\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\SinoCBD\AppData\Local\Programs\Python\Python38\lib', 'C:\', 'C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\libs'] NOT AVAILABLE

C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\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\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\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' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 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\SinoCBD\AppData\Local\Programs\Python\Python38\lib', 'C:\', 'C:\Users\SinoCBD\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\SinoCBD\AppData\Local\Programs\Python\Python38\lib', 'C:\', 'C:\Users\SinoCBD\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\SinoCBD\AppData\Local\Programs\Python\Python38\lib', 'C:\', 'C:\Users\SinoCBD\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\SinoCBD\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\SinoCBD\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\SinoCBD\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\SinoCBD\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 lapack_atlas not found in C:\Users\SinoCBD\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\SinoCBD\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\SinoCBD\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\SinoCBD\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 lapack_atlas not found in C:\Users\SinoCBD\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\SinoCBD\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\SinoCBD\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\SinoCBD\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 lapack_atlas not found in C:\Users\SinoCBD\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\SinoCBD\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\SinoCBD\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\SinoCBD\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\SinoCBD\AppData\Local\Programs\Python\Python38\lib', 'C:\', 'C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\libs'] NOT AVAILABLE

C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\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\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\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\SinoCBD\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 C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Inumpy\core\src\common -Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath -Inumpy\core\src\multiarray -Inumpy\core\src\umath -Inumpy\core\src\npysort -IC:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\include -IC:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include /Tc_configtest.c /Fo_configtest.obj C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\lib\x64 _configtest.obj /OUT:_configtest.exe LINK : fatal error LNK1104: 无法打开文件“kernel32.lib” failure. removing: _configtest.c _configtest.obj configtest.obj.d Traceback (most recent call last): File "", line 1, in File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\setup.py", line 415, in setup_package() File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\setup.py", line 407, in setup_package setup(**metadata) File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\numpy\distutils\core.py", line 171, in setup return old_setup(**new_attr) File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\site-packages\setuptools_init.py", line 153, in setup return distutils.core.setup(**attrs) File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\numpy\distutils\command\build.py", line 47, in run old_build.run(self) File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\numpy\distutils\command\build_src.py", line 148, in run self.build_sources() File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\numpy\distutils\command\build_src.py", line 159, in build_sources self.build_library_sources(*libname_info) File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\numpy\distutils\command\build_src.py", line 292, in build_library_sources sources = self.generate_sources(sources, (lib_name, build_info)) File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\numpy\distutils\command\build_src.py", line 375, in generate_sources source = func(extension, build_dir) File "numpy\core\setup.py", line 667, in get_mathlib_info raise RuntimeError("Broken toolchain: cannot link a simple C program") RuntimeError: Broken toolchain: cannot link a simple C program

ERROR: Failed building wheel for numpy Running setup.py clean for numpy ERROR: Command errored out with exit status 1: command: 'C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\setup.py'"'"'; file='"'"'C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' clean --all cwd: C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241 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 Failed to build lxml numpy WARNING: Ignoring invalid distribution -umpy (c:\users\sinocbd\appdata\local\programs\python\python38\lib\site-packages) WARNING: Ignoring invalid distribution -pype1 (c:\users\sinocbd\appdata\local\programs\python\python38\lib\site-packages) Installing collected packages: numpy, scipy, joblib, scikit-learn, lxml, loguru, environs, dateparser, gerapy-auto-extractor Attempting uninstall: numpy WARNING: Ignoring invalid distribution -umpy (c:\users\sinocbd\appdata\local\programs\python\python38\lib\site-packages) WARNING: Ignoring invalid distribution -pype1 (c:\users\sinocbd\appdata\local\programs\python\python38\lib\site-packages) Found existing installation: numpy 1.21.2 Uninstalling numpy-1.21.2: Successfully uninstalled numpy-1.21.2 Running setup.py install for numpy ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\setup.py'"'"'; file='"'"'C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\SinoCBD\AppData\Local\Temp\pip-record-z7pop_qe\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\Include\numpy' cwd: C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241
Complete output (316 lines): 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\\SinoCBD\\AppData\\Local\\Programs\\Python\\Python38\\lib', 'C:\\', 'C:\\Users\\SinoCBD\\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\\SinoCBD\\AppData\\Local\\Programs\\Python\\Python38\\lib', 'C:\\', 'C:\\Users\\SinoCBD\\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\\SinoCBD\\AppData\\Local\\Programs\\Python\\Python38\\lib', 'C:\\', 'C:\\Users\\SinoCBD\\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\\SinoCBD\\AppData\\Local\\Programs\\Python\\Python38\\lib', 'C:\\', 'C:\\Users\\SinoCBD\\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\\SinoCBD\\AppData\\Local\\Programs\\Python\\Python38\\lib', 'C:\\', 'C:\\Users\\SinoCBD\\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\\SinoCBD\\AppData\\Local\\Programs\\Python\\Python38\\lib', 'C:\\', 'C:\\Users\\SinoCBD\\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\\SinoCBD\\AppData\\Local\\Programs\\Python\\Python38\\lib', 'C:\\', 'C:\\Users\\SinoCBD\\AppData\\Local\\Programs\\Python\\Python38\\libs']
  NOT AVAILABLE

accelerate_info:
  NOT AVAILABLE

C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\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\\SinoCBD\\AppData\\Local\\Programs\\Python\\Python38\\lib', 'C:\\', 'C:\\Users\\SinoCBD\\AppData\\Local\\Programs\\Python\\Python38\\libs']
  NOT AVAILABLE

C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\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\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\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' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
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\\SinoCBD\\AppData\\Local\\Programs\\Python\\Python38\\lib', 'C:\\', 'C:\\Users\\SinoCBD\\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\\SinoCBD\\AppData\\Local\\Programs\\Python\\Python38\\lib', 'C:\\', 'C:\\Users\\SinoCBD\\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\\SinoCBD\\AppData\\Local\\Programs\\Python\\Python38\\lib', 'C:\\', 'C:\\Users\\SinoCBD\\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\SinoCBD\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\SinoCBD\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\SinoCBD\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\SinoCBD\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 lapack_atlas not found in C:\Users\SinoCBD\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\SinoCBD\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\SinoCBD\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\SinoCBD\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 lapack_atlas not found in C:\Users\SinoCBD\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\SinoCBD\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\SinoCBD\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\SinoCBD\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 lapack_atlas not found in C:\Users\SinoCBD\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\SinoCBD\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\SinoCBD\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\SinoCBD\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\\SinoCBD\\AppData\\Local\\Programs\\Python\\Python38\\lib', 'C:\\', 'C:\\Users\\SinoCBD\\AppData\\Local\\Programs\\Python\\Python38\\libs']
  NOT AVAILABLE

C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\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\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\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\SinoCBD\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
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Inumpy\core\src\common -Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath -Inumpy\core\src\multiarray -Inumpy\core\src\umath -Inumpy\core\src\npysort -IC:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\include -IC:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include /Tc_configtest.c /Fo_configtest.obj
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\lib\x64 _configtest.obj /OUT:_configtest.exe
LINK : fatal error LNK1104: 无法打开文件“kernel32.lib”
failure.
removing: _configtest.c _configtest.obj _configtest.obj.d
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\setup.py", line 415, in <module>
    setup_package()
  File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\setup.py", line 407, in setup_package
    setup(**metadata)
  File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\numpy\distutils\core.py", line 171, in setup
    return old_setup(**new_attr)
  File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\site-packages\setuptools\__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\numpy\distutils\command\install.py", line 62, in run
    r = self.setuptools_run()
  File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\numpy\distutils\command\install.py", line 36, in setuptools_run
    return distutils_install.run(self)
  File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\command\install.py", line 545, in run
    self.run_command('build')
  File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\numpy\distutils\command\build.py", line 47, in run
    old_build.run(self)
  File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\command\build.py", line 135, in run
    self.run_command(cmd_name)
  File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\numpy\distutils\command\build_src.py", line 148, in run
    self.build_sources()
  File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\numpy\distutils\command\build_src.py", line 159, in build_sources
    self.build_library_sources(*libname_info)
  File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\numpy\distutils\command\build_src.py", line 292, in build_library_sources
    sources = self.generate_sources(sources, (lib_name, build_info))
  File "C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\numpy\distutils\command\build_src.py", line 375, in generate_sources
    source = func(extension, build_dir)
  File "numpy\core\setup.py", line 667, in get_mathlib_info
    raise RuntimeError("Broken toolchain: cannot link a simple C program")
RuntimeError: Broken toolchain: cannot link a simple C program
----------------------------------------

Rolling back uninstall of numpy Moving to c:\users\sinocbd\appdata\local\programs\python\python38\lib\site-packages\numpy-1.21.2.dist-info
from C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\Lib\site-packages~umpy-1.21.2.dist-info Moving to c:\users\sinocbd\appdata\local\programs\python\python38\lib\site-packages\numpy
from C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\Lib\site-packages~-mpy Moving to c:\users\sinocbd\appdata\local\programs\python\python38\scripts\f2py.exe from C:\Users\SinoCBD\AppData\Local\Temp\pip-uninstall-0354tw02\f2py.exe ERROR: Command errored out with exit status 1: 'C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\setup.py'"'"'; file='"'"'C:\Users\SinoCBD\AppData\Local\Temp\pip-install-gvkelvan\numpy_32d9c41759e64c63a571fd9253149241\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\SinoCBD\AppData\Local\Temp\pip-record-z7pop_qe\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\SinoCBD\AppData\Local\Programs\Python\Python38\Include\numpy' Check the logs for full command output. WARNING: Ignoring invalid distribution -umpy (c:\users\sinocbd\appdata\local\programs\python\python38\lib\site-packages) WARNING: Ignoring invalid distribution -pype1 (c:\users\sinocbd\appdata\local\programs\python\python38\lib\site-packages) WARNING: Ignoring invalid distribution -umpy (c:\users\sinocbd\appdata\local\programs\python\python38\lib\site-packages) WARNING: Ignoring invalid distribution -pype1 (c:\users\sinocbd\appdata\local\programs\python\python38\lib\site-packages)

dota-player avatar Sep 26 '21 03:09 dota-player

而且报错这么长一大段,我不太清楚哪里是描述安装时问题出在哪的.....乱七八糟地google了报错内容地很多部分,结果他们说的原因都不一样,很困惑

dota-player avatar Sep 26 '21 03:09 dota-player

建议用虚拟环境去测试安装,基本都是环境的问题,比如版本。

python26 avatar Dec 17 '21 01:12 python26

现在应该好了,之前有库依赖的问题。

Germey avatar Jan 19 '22 05:01 Germey