A
A
alexeysikora2021-11-20 21:37:53
Python
alexeysikora, 2021-11-20 21:37:53

Can't install numba compiler. Gives an error message. What to do?

ERROR: Command errored out with exit status 1:
command: 'C:\Users\Alex\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Alex\\AppData\\Local\\Temp\\pip-install-efjulvj3\\llvmlite_842b0945ef6e4755be24f175a8e0a334\\setup.py'"'"'; __file__='"'"'C:\\Users\\Alex\\AppData\\Local\\Temp\\pip-install-efjulvj3\\llvmlite_842b0945ef6e4755be24f175a8e0a334\\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'"'"', '"'"'
cwd: C:\Users\Alex\AppData\Local\Temp\pip-install-efjulvj3\llvmlite_842b0945ef6e4755be24f175a8e0a334\
Complete output (29 lines):
running install
C:\Users\Alex\AppData\Local\Programs\Python\Python310\lib \site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
got version from file C:\Users\Alex\AppData\Local\Temp\pip-install-efjulvj3\llvmlite_842b0945ef6e4755be24f175a8e0a334\llvmlite/_version.py {'version': '0.34.0', 'full' : 'c5889c9e98c6b19d5d85ebdd982d64a03931f8e2'}
running build_ext
C:\Users\Alex\AppData\Local\Programs\Python\Python310\python.exe C:\Users\Alex\AppData\Local\Temp\pip-install-efjulvj3\llvmlite_842b0945ef6e4755be24f175a8e0a334\ffi\build.py
Trying generator 'Visual Studio 15 2017 Win64'
Traceback (most recent call last):
File "C:\Users\Alex\AppData\Local\Temp\pip-install-efjulvj3\llvmlite_842b0945ef6e4755be24f175a8e0a334\ffi\build.py", line 191, in
main()
File "C:\Users\Alex\AppData\Local\Temp\pip-install-efjulvj3\llvmlite_842b0945ef6e4755be24f175a8e0a334\ffi\build.py", line 179, in main
main_win32()
File "C:\Users\Alex\AppData\Local \Temp\pip-install-efjulvj3\llvmlite_842b0945ef6e4755be24f175a8e0a334\ffi\build.py", line 88,in main_win32
generator = find_win32_generator()
File "C:\Users\Alex\AppData\Local\Temp\pip-install-efjulvj3\llvmlite_842b0945ef6e4755be24f175a8e0a334\ffi\build.py", line 76, in find_win32_generator
try_cmake(cmake_dir, build_dir, generator)
File " C:\Users\Alexey\AppData\Local\Temp\pip-install-efjulvj3\llvmlite_842b0945ef6e4755be24f175a8e0a334\ffi\build.py", line 28, in try_cmake
subprocess.check_call(['cmake', '-G', generator, cmake_dir ])
File "C:\Users\Jack\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 364, in check_call
retcode = call(*popenargs, **kwargs)
File "C:\Users \Alex\AppData\Local\Programs\Python\Python310\lib\subprocess.py",line 345, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Users\Alex\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 966, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Alex\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1435, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable , args,
FileNotFoundError: [WinError 2] Cannot find the specified file
error: command 'C:\\Users\\Alex\\AppData\\Local\\Programs\\Python\\Python310\\python.exe' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Alex\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Alex\\AppData\\Local\\Temp\\pip-install-efjulvj3\\llvmlite_842b0945ef6e4755be24f175a8e0a334\\setup.py'"'"'; __file__='"'"'C:\\Users\\Alex\\AppData\\Local\\Temp\\pip-install-efjulvj3\\llvmlite_842b0945ef6e4755be24f175a8e0a334\\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'"'"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andy_U, 2021-11-20
@Andy_U

Russian letters on the way

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question