I downloaded the example from https://gitlab.kitware.com/paraview/paraview/tree/master/Examples/Catalyst/PythonFullExample
But I run into problems. If I use the latest paraview(5.7 on MACOS) and run with
pvpython fedriver.py cpscript.py
it says “ImportError: No module named vtkParallelCorePython
”
after adding </Applications/ParaView-5.7.0.app/Contents/Python/vtkmodules> to PYTHONPATH
it gives
" import vtkPVClientServerCoreCorePython as CorePython
ImportError: No module named vtkPVClientServerCoreCorePython
"
I then turn to use an old version as coprocessor.py said v4.2
I got another error:
“ from paraview.modules import vtkPVCatalyst as catalyst
ImportError: No module named modules
”
Does anybody know if there is an up-to-date example for the lastest paraview? if not, which version should work with the example?
I am looking for a hands-on Python example to packing my 3D array to VTK and send it to Catalyst for visualization.
Thanks