FATAL: Error, Visual Studio required for using ClangCL on Windows
Question:
while trying to use Nuitka on anaconda prompt to obfuscate python script pass.py
(would like to use clang compiler not gcc)
after typing below cmd:
python -m nuitka --clang --follow-imports pass.py
it shows this error message:
FATAL: Error, Visual Studio required for using ClangCL on Windows.
However I’ve installed Microsoft visual studio community 2022 edition with C++ and python packages
where is the problem?
Answers:
it solved by below steps:
1)installed individual components from visual studio installer:
2)added to path system variable: clang.exe, clang++.exe and clang-cl.exe paths, in my system they are in:
C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsLlvmbin
C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsLlvmx64bin
C:UsersDaliaanaconda3pkgsclang-14.0.6-h44fa016_0Librarybin
while trying to use Nuitka on anaconda prompt to obfuscate python script pass.py
(would like to use clang compiler not gcc)
after typing below cmd:
python -m nuitka --clang --follow-imports pass.py
it shows this error message:
FATAL: Error, Visual Studio required for using ClangCL on Windows.
However I’ve installed Microsoft visual studio community 2022 edition with C++ and python packages
where is the problem?
it solved by below steps:
1)installed individual components from visual studio installer:
2)added to path system variable: clang.exe, clang++.exe and clang-cl.exe paths, in my system they are in:
C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsLlvmbin
C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsLlvmx64bin
C:UsersDaliaanaconda3pkgsclang-14.0.6-h44fa016_0Librarybin