[vtkusers] vtk cvs and Python2.5

Amy Squillacote amylists at gmail.com
Mon Feb 19 10:18:59 EST 2007


Hi Arye,

This is a known problem with VTK and Python 2.5, and we are currently 
working on a solution.

- Amy

ah wrote:
>  
> Hello all,
>  
> I get the following error message when loading
> the python "vtk" module built with the cvs sources
> of vtk linked with Python 2.5.
>  
> >>> import vtk
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "C:\Program Files\VTK\Lib\site-packages\vtk\__init__.py", line 
> 36, in <module>
>     from common import *
>   File "C:\Program Files\VTK\Lib\site-packages\vtk\common.py", line 9, 
> in <module>
>     from vtkCommonPython import *
> ImportError: No module named vtkCommonPython
> >>>
>  
>  
>  
> The module loads fine when I link with Python 2.4.
> I used CMake 2.4 and MSVC++ 7.1.
>  
> Any help would be greatly appreciated!
> Arye.
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>   



More information about the vtkusers mailing list