[vtkusers] VTK Problem Upon Python 2.5 Upgrade

shari at loralee.net shari at loralee.net
Sun Aug 19 11:06:49 EDT 2007


I just upgraded my system from Python 2.4 to 2.5, and my VTK Python
wrappings have stopped working.  I recompiled VTK with the correct paths
to the Python executable and libraries.  (I am using VTK 5.0.3.)  Here is
the error I get:

[shari at localhost ~]$ python -c "import vtk"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/src/vtk/VTK/Wrapping/Python/vtk/__init__.py", line 29,
in <module>
    from common import *
  File "/usr/local/src/vtk/VTK/Wrapping/Python/vtk/common.py", line 7, in
<module>
    from libvtkCommonPython import *
ImportError: libvtkCommonPythonD.so.5.0: cannot open shared object file:
No such file or directory
[shari at localhost ~]$

Any ideas what I've missed?  I would really appreciate any help.

Thanks,
Shari



More information about the vtkusers mailing list