hi, I try to install rasa on new system.but everytime i run
pip install rasa
it gives the following error:
Building wheel for numpy (setup.py) … error ERROR: Command errored out with exit status 1: command: ‘C:\Users\almos\anaconda3\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\setup.py’"’"’; file=’"’"‘C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\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\almos\AppData\Local\Temp\pip-wheel-t8da08fg’ cwd: C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy
Complete output (309 lines): Running from numpy source directory. C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\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\almos\anaconda3\lib’, ‘C:\’, ‘C:\Users\almos\anaconda3\libs’] NOT AVAILABLEblis_info: No module named ‘numpy.distutils._msvccompiler’ in numpy.distutils; trying from distutils customize MSVCCompiler libraries blis not found in [‘C:\Users\almos\anaconda3\lib’, ‘C:\’, ‘C:\Users\almos\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\almos\anaconda3\lib’, ‘C:\’, ‘C:\Users\almos\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\almos\anaconda3\lib’, ‘C:\’, ‘C:\Users\almos\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\almos\anaconda3\lib’, ‘C:\’, ‘C:\Users\almos\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\almos\anaconda3\lib’, ‘C:\’, ‘C:\Users\almos\anaconda3\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\almos\anaconda3\lib’, ‘C:\’, ‘C:\Users\almos\anaconda3\libs’] NOT AVAILABLE
accelerate_info: NOT AVAILABLE
C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\system_info.py:639: 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\almos\anaconda3\lib’, ‘C:\’, ‘C:\Users\almos\anaconda3\libs’] NOT AVAILABLE
C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\system_info.py:639: UserWarning: Blas (BLAS (Basic Linear Algebra Subprograms)) 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\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\system_info.py:639: UserWarning: Blas (BLAS (Basic Linear Algebra Subprograms)) 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\almos\anaconda3\lib’, ‘C:\’, ‘C:\Users\almos\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\almos\anaconda3\lib’, ‘C:\’, ‘C:\Users\almos\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\almos\anaconda3\lib’, ‘C:\’, ‘C:\Users\almos\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\almos\anaconda3\lib No module named ‘numpy.distutils._msvccompiler’ in numpy.distutils; trying from distutils customize MSVCCompiler libraries tatlas,tatlas not found in C:\Users\almos\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\almos\anaconda3\libs No module named ‘numpy.distutils._msvccompiler’ in numpy.distutils; trying from distutils customize MSVCCompiler libraries tatlas,tatlas not found in C:\Users\almos\anaconda3\libs <class ‘numpy.distutils.system_info.atlas_3_10_threads_info’> NOT AVAILABLEatlas_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\almos\anaconda3\lib No module named ‘numpy.distutils._msvccompiler’ in numpy.distutils; trying from distutils customize MSVCCompiler libraries satlas,satlas not found in C:\Users\almos\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\almos\anaconda3\libs No module named ‘numpy.distutils._msvccompiler’ in numpy.distutils; trying from distutils customize MSVCCompiler libraries satlas,satlas not found in C:\Users\almos\anaconda3\libs <class ‘numpy.distutils.system_info.atlas_3_10_info’> NOT AVAILABLEatlas_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\almos\anaconda3\lib No module named ‘numpy.distutils._msvccompiler’ in numpy.distutils; trying from distutils customize MSVCCompiler libraries ptf77blas,ptcblas,atlas not found in C:\Users\almos\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,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\almos\anaconda3\libs No module named ‘numpy.distutils._msvccompiler’ in numpy.distutils; trying from distutils customize MSVCCompiler libraries ptf77blas,ptcblas,atlas not found in C:\Users\almos\anaconda3\libs <class ‘numpy.distutils.system_info.atlas_threads_info’> NOT AVAILABLEatlas_info: No module named ‘numpy.distutils._msvccompiler’ in numpy.distutils; trying from distutils customize MSVCCompiler libraries lapack_atlas not found in C:\Users\almos\anaconda3\lib No module named ‘numpy.distutils._msvccompiler’ in numpy.distutils; trying from distutils customize MSVCCompiler libraries f77blas,cblas,atlas not found in C:\Users\almos\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,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\almos\anaconda3\libs No module named ‘numpy.distutils._msvccompiler’ in numpy.distutils; trying from distutils customize MSVCCompiler libraries f77blas,cblas,atlas not found in C:\Users\almos\anaconda3\libs <class ‘numpy.distutils.system_info.atlas_info’> NOT AVAILABLElapack_info: No module named ‘numpy.distutils._msvccompiler’ in numpy.distutils; trying from distutils customize MSVCCompiler libraries lapack not found in [‘C:\Users\almos\anaconda3\lib’, ‘C:\’, ‘C:\Users\almos\anaconda3\libs’] NOT AVAILABLE
C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\system_info.py:639: UserWarning: Lapack (LAPACK — Linear Algebra PACKage) 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\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\system_info.py:639: UserWarning: Lapack (LAPACK — Linear Algebra PACKage) 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\almos\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, 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.28.29333\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\almos\anaconda3\include -IC:\Users\almos\anaconda3\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\include /Tc_configtest.c /Fo_configtest.obj C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\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.28.29333\ATLMFC\lib\x64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\lib\x64 _configtest.obj /OUT:_configtest.exe LINK : fatal error LNK1104: cannot open file ‘kernel32.lib’ failure. removing: _configtest.c _configtest.obj configtest.obj.d Traceback (most recent call last): File “”, line 1, in File “C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\setup.py”, line 419, in setup_package() File “C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\setup.py”, line 411, in setup_package setup(**metadata) File “C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\core.py”, line 171, in setup return old_setup(**new_attr) File "C:\Users\almos\anaconda3\lib\site-packages\setuptools_init.py", line 165, in setup return distutils.core.setup(**attrs) File “C:\Users\almos\anaconda3\lib\distutils\core.py”, line 148, in setup dist.run_commands() File “C:\Users\almos\anaconda3\lib\distutils\dist.py”, line 966, in run_commands self.run_command(cmd) File “C:\Users\almos\anaconda3\lib\distutils\dist.py”, line 985, in run_command cmd_obj.run() File “C:\Users\almos\anaconda3\lib\site-packages\wheel\bdist_wheel.py”, line 223, in run self.run_command(‘build’) File “C:\Users\almos\anaconda3\lib\distutils\cmd.py”, line 313, in run_command self.distribution.run_command(command) File “C:\Users\almos\anaconda3\lib\distutils\dist.py”, line 985, in run_command cmd_obj.run() File “C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\command\build.py”, line 47, in run old_build.run(self) File “C:\Users\almos\anaconda3\lib\distutils\command\build.py”, line 135, in run self.run_command(cmd_name) File “C:\Users\almos\anaconda3\lib\distutils\cmd.py”, line 313, in run_command self.distribution.run_command(command) File “C:\Users\almos\anaconda3\lib\distutils\dist.py”, line 985, in run_command cmd_obj.run() File “C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\command\build_src.py”, line 148, in run self.build_sources() File “C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\command\build_src.py”, line 159, in build_sources self.build_library_sources(*libname_info) File “C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\command\build_src.py”, line 292, in build_library_sources sources = self.generate_sources(sources, (lib_name, build_info)) File “C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\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\almos\anaconda3\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\setup.py’"’"’; file=’"’"‘C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\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\almos\AppData\Local\Temp\pip-install-0xhcugi9\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 Failed to build numpy ERROR: -pencv-python 4.4.0.46 has requirement numpy>=1.17.3, but you’ll have numpy 1.16.6 which is incompatible. ERROR: -asa 2.0.2 has requirement PyJWT<1.8,>=1.7, but you’ll have pyjwt 2.0.1 which is incompatible. ERROR: -asa 2.0.2 has requirement ruamel.yaml<0.17.0,>=0.16.5, but you’ll have ruamel-yaml 0.15.87 which is incompatible. ERROR: -asa 2.0.2 has requirement tensorflow_hub<0.10,>=0.9, but you’ll have tensorflow-hub 0.10.0 which is incompatible. ERROR: torchvision 0.5.0 has requirement torch==1.4.0, but you’ll have torch 1.7.1 which is incompatible. ERROR: rasa-x 0.33.2 has requirement cryptography<3.0,>=2.7, but you’ll have cryptography 3.4.6 which is incompatible. ERROR: rasa-x 0.33.2 has requirement rasa==2.0.2, but you’ll have rasa 2.3.4 which is incompatible. ERROR: rasa-x 0.33.2 has requirement ruamel.yaml<0.17,>=0.16, but you’ll have ruamel-yaml 0.15.87 which is incompatible. ERROR: rasa-x 0.33.2 has requirement ujson<2.0,>=1.35, but you’ll have ujson 3.2.0 which is incompatible. ERROR: opencv-python 4.5.1.48 has requirement numpy>=1.17.3, but you’ll have numpy 1.16.6 which is incompatible. ERROR: astropy 4.2 has requirement numpy>=1.17, but you’ll have numpy 1.16.6 which is incompatible. ERROR: rasa 2.3.4 has requirement ruamel.yaml<0.17.0,>=0.16.5, but you’ll have ruamel-yaml 0.15.87 which is incompatible. Installing collected packages: numpy, tensorflow-hub, rasa Attempting uninstall: numpy Found existing installation: numpy 1.18.5 Uninstalling numpy-1.18.5: Successfully uninstalled numpy-1.18.5 Running setup.py install for numpy … error ERROR: Command errored out with exit status 1: command: ‘C:\Users\almos\anaconda3\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\setup.py’"’"’; file=’"’"‘C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\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\almos\AppData\Local\Temp\pip-record-iq4_gne7\install-record.txt’ --single-version-externally-managed --compile --install-headers ‘C:\Users\almos\anaconda3\Include\numpy’ cwd: C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy
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\\almos\\anaconda3\\lib', 'C:\\', 'C:\\Users\\almos\\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\\almos\\anaconda3\\lib', 'C:\\', 'C:\\Users\\almos\\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\\almos\\anaconda3\\lib', 'C:\\', 'C:\\Users\\almos\\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\\almos\\anaconda3\\lib', 'C:\\', 'C:\\Users\\almos\\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\\almos\\anaconda3\\lib', 'C:\\', 'C:\\Users\\almos\\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\\almos\\anaconda3\\lib', 'C:\\', 'C:\\Users\\almos\\anaconda3\\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\\almos\\anaconda3\\lib', 'C:\\', 'C:\\Users\\almos\\anaconda3\\libs'] NOT AVAILABLE accelerate_info: NOT AVAILABLE C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\system_info.py:639: 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\\almos\\anaconda3\\lib', 'C:\\', 'C:\\Users\\almos\\anaconda3\\libs'] NOT AVAILABLE C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\system_info.py:639: 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\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\system_info.py:639: 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\\almos\\anaconda3\\lib', 'C:\\', 'C:\\Users\\almos\\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\\almos\\anaconda3\\lib', 'C:\\', 'C:\\Users\\almos\\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\\almos\\anaconda3\\lib', 'C:\\', 'C:\\Users\\almos\\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\almos\anaconda3\lib No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler libraries tatlas,tatlas not found in C:\Users\almos\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\almos\anaconda3\libs No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler libraries tatlas,tatlas not found in C:\Users\almos\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\almos\anaconda3\lib No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler libraries satlas,satlas not found in C:\Users\almos\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\almos\anaconda3\libs No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler libraries satlas,satlas not found in C:\Users\almos\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\almos\anaconda3\lib No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler libraries ptf77blas,ptcblas,atlas not found in C:\Users\almos\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,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\almos\anaconda3\libs No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler libraries ptf77blas,ptcblas,atlas not found in C:\Users\almos\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\almos\anaconda3\lib No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler libraries f77blas,cblas,atlas not found in C:\Users\almos\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,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\almos\anaconda3\libs No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler libraries f77blas,cblas,atlas not found in C:\Users\almos\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\\almos\\anaconda3\\lib', 'C:\\', 'C:\\Users\\almos\\anaconda3\\libs'] NOT AVAILABLE C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\system_info.py:639: 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\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\system_info.py:639: 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\almos\anaconda3\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.28.29333\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\almos\anaconda3\include -IC:\Users\almos\anaconda3\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\include /Tc_configtest.c /Fo_configtest.obj C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\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.28.29333\ATLMFC\lib\x64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\lib\x64 _configtest.obj /OUT:_configtest.exe LINK : fatal error LNK1104: cannot open file '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\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\setup.py", line 419, in <module> setup_package() File "C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\setup.py", line 411, in setup_package setup(**metadata) File "C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\core.py", line 171, in setup return old_setup(**new_attr) File "C:\Users\almos\anaconda3\lib\site-packages\setuptools\__init__.py", line 165, in setup return distutils.core.setup(**attrs) File "C:\Users\almos\anaconda3\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Users\almos\anaconda3\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "C:\Users\almos\anaconda3\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\command\install.py", line 62, in run r = self.setuptools_run() File "C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\command\install.py", line 36, in setuptools_run return distutils_install.run(self) File "C:\Users\almos\anaconda3\lib\distutils\command\install.py", line 545, in run self.run_command('build') File "C:\Users\almos\anaconda3\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\almos\anaconda3\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\command\build.py", line 47, in run old_build.run(self) File "C:\Users\almos\anaconda3\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "C:\Users\almos\anaconda3\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\almos\anaconda3\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\command\build_src.py", line 148, in run self.build_sources() File "C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\command\build_src.py", line 159, in build_sources self.build_library_sources(*libname_info) File "C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\numpy\distutils\command\build_src.py", line 292, in build_library_sources sources = self.generate_sources(sources, (lib_name, build_info)) File "C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\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\almos\appdata\roaming\python\python38\scripts\f2py.exe from C:\Users\almos\AppData\Local\Temp\pip-uninstall-ibvu02un\f2py.exe Moving to c:\users\almos\appdata\roaming\python\python38\site-packages\numpy-1.18.5.dist-info
from C:\Users\almos\AppData\Roaming\Python\Python38\site-packages~umpy-1.18.5.dist-info Moving to c:\users\almos\appdata\roaming\python\python38\site-packages\numpy
from C:\Users\almos\AppData\Roaming\Python\Python38\site-packages~umpy ERROR: Command errored out with exit status 1: ‘C:\Users\almos\anaconda3\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\numpy\setup.py’"’"’; file=’"’"‘C:\Users\almos\AppData\Local\Temp\pip-install-0xhcugi9\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\almos\AppData\Local\Temp\pip-record-iq4_gne7\install-record.txt’ --single-version-externally-managed --compile --install-headers ‘C:\Users\almos\anaconda3\Include\numpy’ Check the logs for full command output.
Any idea how to resolve this?