Thank you, Liren Zhu.

Based on your investigation, I replaced all the /usr/lib/python2.7/dist-
packages/vtk/vtk*.so links, using some command line hackery which should
be equivalent to:

for link in `ls /usr/lib/python2.7/dist-packages/vtk/vtk*.so`; do
target=$(readlink $link).6.0; echo $link; sudo rm $link; sudo ln -s
$target $link ; done

This seems to have fixed the problem for me (a VTK python example now
works).

Script is believed good but not fully tested, so use at your own risk.
:-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1354127

Title:
  vtk cannnot be loaded in python after installing python-vtk6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vtk6/+bug/1354127/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to