[vtkusers] Re: vtk cvs and Python2.5
ah
aryeh at bigfoot.com
Mon Feb 19 12:19:08 EST 2007
Dear Amy, Wolfgang,
Thanks both for your prompt answer.
I confirm that the CVS version does include the fix.
However the "INSTALL" project still tries to copy the
vtkCommonPython.dll file.
________________________
running install_data
error: can't copy 'C:\Documents and Settings\ah\DEV\19-02-07\VTKbinpy2.5_try2\bin\MinSizeRel\vtkCommonPython.dll': doesn't exist or
not a regular file
________________________
All the best!
Arye.
--------------------------------------------------------
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
http://public.kitware.com/pipermail/vtkusers/2006-December/088630.html
>
> 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.
>>
>>
More information about the vtkusers
mailing list