C# 如何在windows 10中正确安装LLVMLITE?

C# 如何在windows 10中正确安装LLVMLITE?,c#,python,visual-studio,cmake,C#,Python,Visual Studio,Cmake,我正在尝试在windows 10中安装llvmlite,因此我将按照以下步骤进行操作: 因此,我已经拥有了一切,当我尝试使用命令python setup.py build安装时,出现以下错误: Trying generator 'Visual Studio 12 2013' -- The C compiler identification is unknown -- The CXX compiler identification is unknown CMake Error at CMakeLi

我正在尝试在windows 10中安装llvmlite,因此我将按照以下步骤进行操作:

因此,我已经拥有了一切,当我尝试使用命令
python setup.py build
安装时,出现以下错误:

Trying generator 'Visual Studio 12 2013'
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
  No CMAKE_C_COMPILER could be found.



CMake Error at CMakeLists.txt:3 (project):
  No CMAKE_CXX_COMPILER could be found.



-- Configuring incomplete, errors occurred!
See also "C:/Users/G1745 IRON/AppData/Local/Temp/tmpvzyvoz/CMakeFiles/CMakeOutput.log".
See also "C:/Users/G1745 IRON/AppData/Local/Temp/tmpvzyvoz/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
  File "C:\Python27\Lib\site-packages\llvmlite\ffi\build.py", line 152, in <module>
    main()
  File "C:\Python27\Lib\site-packages\llvmlite\ffi\build.py", line 140, in main
    main_win32()
  File "C:\Python27\Lib\site-packages\llvmlite\ffi\build.py", line 74, in main_win32
    generator = find_win32_generator()
  File "C:\Python27\Lib\site-packages\llvmlite\ffi\build.py", line 70, 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:\\Python27\\python.exe' failed with exit status 1

非常感谢您的帮助。

我使用windows 10、python 2和python 3,并定期使用@roganjosh提供的链接下载和安装预编译的二进制文件。我刚刚为了一个干净的安装重复了这一点,是的,它非常适合llvmlite。对于numba也是如此。

这是一个巨大的痛苦,我需要它来治疗
numba
,我花了好长时间才恢复过来,我甚至都不记得到底什么起了作用。可能是通过二进制文件安装的。你在用这个吗?可悲的是,因为Firebird 1.5,我被窗户卡住了:(.我将对此进行检查,谢谢!在windows中实现Numba的主要问题是重新分发…我如何能够自动安装?我认为这是不可能的。如中所述,让程序在另一台计算机上运行?配置日志中的前3行表示Visual Studio 12(32位)您的计算机上未安装或CMake未配置为使用它。请创建简单的CMake项目,并尝试使用generator
Visual Studio 12
构建它。
Trying generator 'Visual Studio 12 2013'
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
  No CMAKE_C_COMPILER could be found.



CMake Error at CMakeLists.txt:3 (project):
  No CMAKE_CXX_COMPILER could be found.



-- Configuring incomplete, errors occurred!
See also "C:/Users/G1745 IRON/AppData/Local/Temp/tmpvzyvoz/CMakeFiles/CMakeOutput.log".
See also "C:/Users/G1745 IRON/AppData/Local/Temp/tmpvzyvoz/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
  File "C:\Python27\Lib\site-packages\llvmlite\ffi\build.py", line 152, in <module>
    main()
  File "C:\Python27\Lib\site-packages\llvmlite\ffi\build.py", line 140, in main
    main_win32()
  File "C:\Python27\Lib\site-packages\llvmlite\ffi\build.py", line 74, in main_win32
    generator = find_win32_generator()
  File "C:\Python27\Lib\site-packages\llvmlite\ffi\build.py", line 70, 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:\\Python27\\python.exe' failed with exit status 1
CMake Error: The source directory "C:/Python27/Lib/site-packages/llvmlite" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.