[vtkusers] Installation of VTK for Python on Ubuntu 11.10
François Louis LAILLIER
fanloulaillier at msn.com
Tue Feb 28 17:55:22 EST 2012
Hi Vtkusers,
I have a problem during the installation of Vtk lib for python.
I compile a cmake installation files. When I run, the installation, no
errors.
But when I tryed to import vtk in python i get this error.
>>> import vtk
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/vtk/__init__.py", line
41, in <module>
from vtkCommonPython import *
ImportError: libvtkCommonPythonD.so.5.8: cannot open shared object file:
No such file or directory
>>>
I tryed to "locate" this file on my workstation.
Return of locate function :
fanlou at Bureau:~/Binaries/Linux_build_VTK$ locate libvtkCommonPythonD.so.5.8
/home/fanlou/Binaries/Linux_build_VTK/bin/libvtkCommonPythonD.so.5.8
/usr/lib/libvtkCommonPythonD.so.5.8
/usr/lib/python2.7/vtk-5.8/libvtkCommonPythonD.so.5.8
/usr/lib/python2.7/vtk-5.8/libvtkCommonPythonD.so.5.8.0
/usr/lib/vtk-5.8/libvtkCommonPythonD.so.5.8
/usr/lib/vtk-5.8/libvtkCommonPythonD.so.5.8.0
/usr/local/lib/vtk-5.8/libvtkCommonPythonD.so.5.8
/usr/local/lib/vtk-5.8/libvtkCommonPythonD.so.5.8.0
If the file is located, "everywhere" on my WS, it's because I copy and
paste the files, to make some try.
Do you have an idea where the .so file must be to be found by python ?
Thank you in advance and take care about you.
François Louis.
More information about the vtkusers
mailing list