ParaView/EnvironmentSetup: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(Created page with '==Linux== You must add this to your .bashrc to run anything in a ProgrammableFilter. export PYTHONPATH=$PYTHONPATH:/home/doriad/bin/ParaView/Utilities/VTKPythonWrapping #fixes …')
 
Line 2: Line 2:
You must add this to your .bashrc to run anything in a ProgrammableFilter.
You must add this to your .bashrc to run anything in a ProgrammableFilter.


  export PYTHONPATH=$PYTHONPATH:/home/doriad/bin/ParaView/Utilities/VTKPythonWrapping #fixes "no module named paraview"
  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"
  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

Revision as of 18:28, 9 August 2010

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