Reputation: 1499
I want to build LLVM clang compiler, but CMake ends up with the following error message:
CMake Error at CMakeLists.txt:256 (message):
Unexpected failure executing llvm-build: Traceback (most recent call
last):
File "C:/.../llvm/utils/llvm-build/llvm-build", line 3, in
<module>
import llvmbuild
File "C:\...\llvm\utils\llvm-build\llvmbuild\__init__.py",
line 1, in
<module>
from main import main
ImportError: No module named main
-- Configuring incomplete, errors occurred!
I've got all needed tools installed.
Upvotes: 16
Views: 5490
Reputation: 1499
I've found the solution.
I've just installed another version of Python: 2.x (2.72), (still x86-64)
Upvotes: 21