This wiki has been deprecated. You can find updated information from the main VTK website.
In the following instructions, I have built VTK in '/home/doriad/bin/VTK'
To run a vtk python script, simply type:
If you receive this error:
ImportError: No module named vtk
add the following line to ~/.bashrc
Try to run the script again. If you get something like this:
ImportError: libvtkCommonPythonD.so.pv3.7: cannot open shared object file: No such file or directory
Add the following to ~/.bashrc