Paraview debug build does not work

Calling Python code from Paraview

ModuleNotFoundError: No module named ‘_paraview_modules_static’

In Paraview debug build 5.9
What could be the reason?

Please try with ParaView 5.12-RC2 or even master.

This means that import paraview failed. There’s a fallback built-in for the static build to do its thing, but that’s just going to fail on a shared build. Trying a newer release would be good unless there’s a specific need for 5.9 (as it is out of support).