[vtkusers] How to import vtk in python?

David Thompson david.thompson at kitware.com
Thu May 21 21:09:23 EDT 2015


> ... Try setting the PYTHONPATH environment variable to include VTK's lib and lib/site-packages directories. ...

Correction: lib/site-packages is the way ParaView organizes things, not VTK.

You still need to add lib (and maybe bin on Windows) to PYTHONPATH, in addition to Wrapping/Python.

	David


More information about the vtkusers mailing list