[vtkusers] Re: vtk cvs and Python2.5
WolfgangZillig
wollez at gmx.net
Mon Feb 19 10:49:06 EST 2007
can it perhaps still be the issue that .dll are generated but python2.5
only accepts .pyd and you have to rename the files? This should be
somewhere further up in the mailing list.
Wolfgang
ah schrieb:
>
> 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