VTK/Tutorials/PythonEnvironmentSetup: Difference between revisions

From KitwarePublic
< VTK‎ | Tutorials
Jump to navigationJump to search
(New page: There are two main ways to install VTK - 1) as part of Paraview or 2) stand alone. In the following instructions, I've built Paraview and VTK has been installed as part of that process. I...)
 
No edit summary
Line 2: Line 2:


I've built paraview in '/home/doriad/bin/ParaView3'
I've built paraview in '/home/doriad/bin/ParaView3'
ImportError: No module named vtk
fix:


To prevent "library not found", add this to .bashrc
To prevent "library not found", add this to .bashrc
export LD_LIBRARY_PATH=/usr/local/lib:/home/doriad/bin/ParaView3/bin
export LD_LIBRARY_PATH=/usr/local/lib:/home/doriad/bin/ParaView3/bin

Revision as of 13:42, 17 June 2009

There are two main ways to install VTK - 1) as part of Paraview or 2) stand alone. In the following instructions, I've built Paraview and VTK has been installed as part of that process.

I've built paraview in '/home/doriad/bin/ParaView3'


ImportError: No module named vtk fix:

To prevent "library not found", add this to .bashrc export LD_LIBRARY_PATH=/usr/local/lib:/home/doriad/bin/ParaView3/bin