Importing paraview.simple

Hi everyone, I’m tryining to use Paraview through python pipeline. I do not understand why I get the error “ModuleNotFoundError: No module named ‘_paraview_modules_static’“ when I run the following code:

import os

import sys

binn = r"C:\Program Files\ParaView 5.13.2\bin"

pack = r"C:\Program Files\ParaView 5.13.2\bin\Lib\site-packages"

sys.path.append(pack)

os.environ[‘PATH’] = binn + ‘;’ + os.environ[‘PATH’]

from paraview.simple import *

I am sure the paths are correct. Can someone please tell me how I can fix this issue?

Why not using pvpython directly ?

paraview_modules_static only exists in a static build.