Cmake can't find Python when tryng to build blender in CMD

C:\blender-git\blender>make update verbose
Warning: Python not found, there is likely an issue with the library folder
svn : “C:\Program Files\SlikSvn\bin\svn.exe”
cmake : “C:\Program Files\CMake\bin\cmake.exe”
ctest : “C:\Program Files\CMake\bin\ctest.exe”
git : “C:\Program Files\Git\cmd\git.exe”
python : “”""
No explicit msvc version requested, autodetecting version.
Detecting msvc 2019
Visual Studio 2019 is not detected
Detecting msvc 2022
Visual Studio 2022 is not detected
Compiler Detection failed. Use verbose switch for more information.
Visual Studio not found (try with the ‘verbose’ switch for more information)

Looks like the library folder may be incomplete, try running make svnfix to see if you can get that back in order, beyond that it appears you do not have a compatible version of VS installed, be sure to select the C++ workload in the installer.

Edit:
Actually i’d deal with the VS issue first, without it it doesn’t know what lib folder to grab for you

1 Like