[vtkusers] vtk cvs and Python2.5

ah aryeh at bigfoot.com
Mon Feb 19 10:12:13 EST 2007


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070219/b49bcbd2/attachment.htm>


More information about the vtkusers mailing list