[vtkusers] about vtk sip bindings

Nicola Creati ncreati at inogs.it
Mon Nov 29 09:45:53 EST 2010


On 11/29/2010 03:42 PM, Lic. José M. Rodriguez Bacallao wrote:
> do I really have to add this path to LD_LIBRARY_PATH?
>
> On Thu, Nov 25, 2010 at 3:50 PM, Lic. José M. Rodriguez Bacallao
> <jmrbcu at gmail.com>  wrote:
>> 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
>> -----------------------------------------------------------------
>>
>
>
Hello,
I did the same adding to PYTHONPATH and it seems its the only way to 
make vtk sip bindings to work at the moment.
Cheers,

Nicola




More information about the vtkusers mailing list