could not find package

paraview version v5.7.0
visual studio version: 2019
python 3.12.2

still encounter the error:
Determined source version for paraview: 5.7.0
CMake Error at superbuild/cmake/SuperbuildMacros.cmake:823 (include):
include could not find requested file:

python

Call Stack (most recent call first):
superbuild/CMakeLists.txt:183 (_superbuild_discover_projects)

CMake Error at superbuild/cmake/SuperbuildMacros.cmake:823 (include):
include could not find requested file:

python2

Call Stack (most recent call first):
superbuild/CMakeLists.txt:183 (_superbuild_discover_projects)

CMake Error at superbuild/projects/win32/boost.cmake:5 (message):
At least Visual Studio 9.0 is required
Call Stack (most recent call first):
superbuild/cmake/SuperbuildMacros.cmake:823 (include)
superbuild/CMakeLists.txt:183 (_superbuild_discover_projects)

I have two questions here:

  1. how the CMakeList to find the version of python and visual studio?
  2. wondering how to locate the file superbuild/CMakeLists.txt?

I appreciate your time to look at this error.

This is…very old. It certainly does not support Python 3.12.

And is old enough that it doesn’t recognize Visual Studio 2019 either.

If you want to compile 5.7.0, I recommend using Visual Studio 2017 and a similar vintage Python.

appreciate your reply @ben.boeckel