CMake plugin building failure: Failed to find the required module

Hello dear Paraview developers!

I have written in .plugin file:
REQUIRES_MODULES
VTK::PythonInterpreter

As well as in vtk.module files

But I have an error
Failed to find the required module VTK::PythonInterpreter. C:\Users\Mike\FidesysViewer\CMake/ParaViewPlugin.cmake 1012

How can I correct it?

Thank u!

I suspect that the ParaView you ar compiling against is not Python-enabled. Basically the error is saying “the plugin says it needs VTK::PythonInterpreter but it was not found” and errors when it knows that to be the case instead of waiting for it to be incidentally caught later.