The shared library which warps the Python code relies on CMake being able to locate the Python Interpreter.
This works out of the box on Linux with the command:
set(Python_FIND_ABI "OFF" "ANY" "ANY") # FORCE cmake to link against RELEASE LIBRARIES
find_package(Python3 REQUIRED COMPONENTS Interpreter Development)
The shared library which warps the Python code relies on CMake being able to locate the Python Interpreter.
This works out of the box on Linux with the command:
However, this approach rarely works on windows.