installing paraview locally has issues with paraview.simple
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
When building pv locally with Python enabled and then installing to a separate directory, when running pvpython or pvbatch from the installed directory it can't import paraview.simple.
For a shared library build I get the following error:
from paraview.simple import * Error: Could not import vtkCommonComputationalGeometryPython Traceback (most recent call last): File "", line 1, in File "/media/ssddrive/BUILDS/ParaView/debug-developer-install/lib/paraview-4.1/site-packages/paraview/simple.py", line 39, in import servermanager File "/media/ssddrive/BUILDS/ParaView/debug-developer-install/lib/paraview-4.1/site-packages/paraview/servermanager.py", line 48, in import paraview, re, os, os.path, new, sys, atexit, vtk File "/media/ssddrive/BUILDS/ParaView/debug-developer-install/lib/paraview-4.1/site-packages/paraview/vtk/init.py", line 7, in from vtkCommonCorePython import * ImportError: No module named vtkCommonCorePython
For a static library build I get the following error:
from paraview.simple import * Traceback (most recent call last): File "", line 1, in ImportError: No module named paraview.simple
With the static build, if I copy the /lib/paraview-4.1/site-packages to /lib/ then I can import paraview.simple from pvpython and pvbatch.