[vtkusers] Re: vtk cvs and Python2.5

Amy Squillacote amy.squillacote at kitware.com
Mon Feb 19 10:54:35 EST 2007


That is indeed the issue, and I just noticed it has been fixed in the 
CVS version of VTK.

- Amy

WolfgangZillig wrote:
> 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
>
> _______________________________________________
> 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
>

-- 
Amy Squillacote
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
Phone: (518) 371-3971 x106




More information about the vtkusers mailing list