[vtkusers] Re: Python 2.5

Wolfgang wollez at gmx.net
Mon Dec 11 13:30:50 EST 2006


Vladimir Lazunin schrieb:
> I was trying to build VTK wrappers for Python 2.5 on Windows, and got a 
> problem: steps that worked for Python 2.4 don't work anymore: Python 
> just doesn't find VTK packages.
>  
> The reason is that since 2.5-th version Python doesn't consider *.dll 
> files as packages, only looking for *.pyd. I finally had found that by 
> myself, but thought it can be worthy of reporting. Simple renaming of 
> vtk*Python.dll (not vtk*PythonD.dll) files into *.pyd shall fix the problem.
> 


Thanks a lot! I would never have figured that out on my own!

greetings
Wolfgang




More information about the vtkusers mailing list