[vtkusers] about vtk sip bindings

Lic. José M. Rodriguez Bacallao jmrbcu at gmail.com
Thu Nov 25 15:50:09 EST 2010


hi folks, I am working with a vtk snapshot from yesterday and I noted
that I get a link error when from python I try to import vtk module.
All path are configured with LD_LIBRARY_PATH and PYTHONPATH, the error
is something like the following:

import vtk
...
...
LinkError: Cannot find module vtkCommonPythonSIP

I solved the problem adding to LD_LIBRARY_PATH this path:
/home/jmrbcu/bin/imagis/third_party/vtk/lib/python2.6/site-packages/VTK-5.7.0-py2.6.egg/vtk

is this correct?

-- 
Lic. José M. Rodriguez Bacallao
Centro de Biofisica Medica
-----------------------------------------------------------------
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.

Recuerda: El arca de Noe fue construida por aficionados, el titanic
por profesionales
-----------------------------------------------------------------



More information about the vtkusers mailing list