[vtkusers] problem with VTK's Python bindings
Yifei Li
yifli82 at gmail.com
Mon Feb 20 10:24:24 EST 2012
>
> > On Sun, Feb 19, 2012 at 2:21 PM, David Gobbi <david.gobbi at gmail.com>
>> wrote:
>> >>
>> >> Hi Yifei,
>> >>
>> >> This isn't a python issue, it's a Qt issue: the undefined symbol is in
>> >> libQVTK.so.
>> >>
>> >> - David
>>
>
Ok, I found the problem: the old Qt libraries instead of the new ones
(Qt-4.8.0) I just installed are listed as dependencies of libQVTK .
I fixed the problem by adding the path to the new Qt libraries to
LD_LIBRARY_PATH.
HOWEVER, I'm running into another problem:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/tmp/yifli/lib/python2.6/site-packages/VTK-5.8.0-py2.6.egg/vtk/__init__.py",
line 121, in <module>
from qvtk import *
File
"/tmp/yifli/lib/python2.6/site-packages/VTK-5.8.0-py2.6.egg/vtk/qvtk.py",
line 8, in <module>
from QVTKPython import *
RuntimeError: the sip module implements API v8.0 to v8.1 but the
vtk.vtkFilteringPythonSIP module requires API v7.1
Is the sip I have (4.13.2) too new for VTK? How do fix this issue?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120220/3a4249a2/attachment.htm>
More information about the vtkusers
mailing list