[Paraview] 4.0.1 release: problems loading paraview.simple in pvpython or pvbatch

Anthony Ruiz ruizanthony at gmail.com
Tue Jun 25 19:46:32 EDT 2013


Hi,

I'm having trouble while trying to import * in paraview.simple in
pvpython or pvbatch, using both the mac compiled version and a code
built from source on a unix machine, using the 4.0.1 release.

Once I added build/lib/site-packages to PYTHONPATH (this step was not
required in pvbatch 3.14.1), here's the error I get:

  File "~/local/build/lib/site-packages/paraview/vtk/__init__.py",
line 7, in <module>
    from vtkCommonCorePython import *
ImportError: No module named vtkCommonCorePython

If I launch pvbatch from a working directory and let the shell find
the executable in the path, I have the problem above. If I explicitly
launch the executable using its absolute path, I don't have that
problem (both were working in version 3.14.1). Is it an expected
change of behavior?

Thanks,
Anthony


More information about the ParaView mailing list