ParaView/EnvironmentSetup
From KitwarePublic
< ParaView
Jump to navigationJump to search
Linux
You must add this to your .bashrc to run anything in a ProgrammableFilter.
export PYTHONPATH=$PYTHONPATH:/home/doriad/bin/ParaView/Utilities/VTKPythonWrapping/site-packages #fixes "no module named paraview" export PYTHONPATH=$PYTHONPATH:/home/doriad/bin/ParaView/bin #fixes "ImportError: No module named libvtkCommonPython"
Note that for older versions of ParaView the first line may need to be replaced by:
export PYTHONPATH=$PYTHONPATH:/home/doriad/bin/ParaView/Utilities/VTKPythonWrapping