[vtkusers] VTK Problem Upon Python 2.5 Upgrade

Dominik Szczerba domi at vision.ee.ethz.ch
Sun Aug 19 11:58:03 EDT 2007


1) make sure your vtkpython is properly linked (if you use it)
2) check PYTHON_PATH
- Dominik

shari at loralee.net wrote:
> 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
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-- 
Dominik Szczerba, Ph.D.
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi



More information about the vtkusers mailing list