I try to run a python script (test.py) containing this line only:
`from paraview.simple import *`
I want to use the last version of paraview. So, I downloaded it from the official webpage and I uncompressed the corresponding archive into a folder, say /home/paraview.
If I do not anything more than running the script with
I get the following error message:
> Traceback (most recent call last): > File "test.py", line 2, in <module> > from paraview.simple import * > ModuleNotFoundError: No module named 'paraview
So, I set my PYTHONPATH like this:
Then, I rerun my script and I get a different error message:
> Error: Could not import vtkCommonComputationalGeometry > Segmentation fault
I tried to set LD_LIBRARY_PATH:
where vtkCommonComputationalGeometry.so is but it does not work.
Furthermore, if I try to locate vtkCommonComputationalGeometry, I find it in another location:
I removed vtk with apt but it is still here.
Do you know how I could run my script?