Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: No compatible cmake generator installed on this machine #25

Open
korfer opened this issue Aug 30, 2021 · 1 comment
Open
Labels
bug Something isn't working

Comments

@korfer
Copy link

korfer commented Aug 30, 2021

Hi, I have following error message on windows 10 during pip install surfboard. Any way to fixit? Updating cmake doesn't help.

ERROR: Command errored out with exit status 1:
command: 'c:\users\пк\pycharmprojects\lungs-backend\venv\scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ПК\AppData\Local\Temp\
pip-install-avso8t1w\llvmlite_699981f89b3446759ede014768af2dca\setup.py'"'"'; file='"'"'C:\Users\ПК\AppData\Local\Temp\pip-install-avso8t1w\llvmlite_699981f89b3446759ede01476
8af2dca\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\ПК\AppData\Local\Temp\pip-record-u4s4z6hm\install-record.txt' --s
ingle-version-externally-managed --compile --install-headers 'c:\users\пк\pycharmprojects\lungs-backend\venv\include\site\python3.9\llvmlite'
cwd: C:\Users\ПК\AppData\Local\Temp\pip-install-avso8t1w\llvmlite_699981f89b3446759ede014768af2dca
Complete output (31 lines):
running install
running build
got version from file C:\Users\ПК\AppData\Local\Temp\pip-install-avso8t1w\llvmlite_699981f89b3446759ede014768af2dca\llvmlite/_version.py {'version': '0.31.0', 'full': 'fe7d985f6421d87
f613bd414479d29d912771562'}
running build_ext
c:\users\пк\pycharmprojects\lungs-backend\venv\scripts\python.exe C:\Users\ПК\AppData\Local\Temp\pip-install-avso8t1w\llvmlite_699981f89b3446759ede014768af2dca\ffi\build.py
-- Selecting Windows SDK version to target Windows 10.0.19042.
CMake Error at CMakeLists.txt:3 (project):
Failed to run MSBuild command:

    MSBuild.exe

  to get the value of VCTargetsPath:

    Не удается найти указанный файл



-- Configuring incomplete, errors occurred!
See also "C:/Users/РџРљ/AppData/Local/Temp/tmpt2d5fhn6/CMakeFiles/CMakeOutput.log".
Trying generator 'Visual Studio 14 2015 Win64'
Traceback (most recent call last):
  File "C:\Users\ПК\AppData\Local\Temp\pip-install-avso8t1w\llvmlite_699981f89b3446759ede014768af2dca\ffi\build.py", line 168, in <module>
    main()
  File "C:\Users\ПК\AppData\Local\Temp\pip-install-avso8t1w\llvmlite_699981f89b3446759ede014768af2dca\ffi\build.py", line 156, in main
    main_win32()
  File "C:\Users\ПК\AppData\Local\Temp\pip-install-avso8t1w\llvmlite_699981f89b3446759ede014768af2dca\ffi\build.py", line 88, in main_win32
    generator = find_win32_generator()
  File "C:\Users\ПК\AppData\Local\Temp\pip-install-avso8t1w\llvmlite_699981f89b3446759ede014768af2dca\ffi\build.py", line 84, in find_win32_generator
    raise RuntimeError("No compatible cmake generator installed on this machine")
RuntimeError: No compatible cmake generator installed on this machine
error: command 'c:\\users\\пк\\pycharmprojects\\lungs-backend\\venv\\scripts\\python.exe' failed with exit code 1
----------------------------------------

ERROR: Command errored out with exit status 1: 'c:\users\пк\pycharmprojects\lungs-backend\venv\scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\
Users\ПК\AppData\Local\Temp\pip-install-avso8t1w\llvmlite_699981f89b3446759ede014768af2dca\setup.py'"'"'; file='"'"'C:\Users\ПК\AppData\Local\Temp\pip-install-avso8t1w\l
lvmlite_699981f89b3446759ede014768af2dca\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setu
p; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ПК\AppData\Local\Temp\pip-record
-u4s4z6hm\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\пк\pycharmprojects\lungs-backend\venv\include\site\python3.9\llvmlite' Check the lo
gs for full command output.

@rlenain rlenain added the bug Something isn't working label Aug 31, 2021
@rlenain
Copy link
Contributor

rlenain commented Aug 31, 2021

Hi there! And thanks for using Surfboard. A quick google leads me to believe that it might an issue with your LLVMLITE installation. Let us know if this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants