<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">I just rebuilt VTK-5.10.1 64-bit on Windows with VTK_WRAP_PYTHON ON.  The build completed without errors.  I do not understand why I have 14 .lib and .dll files named vtk*PythonD.dll
 and vtk*PythonD.lib, and 14 .lib files named vtk*Python.lib, but no vtk*Python.dll.  This causes my attempt to run a VTK-Python example to fail like this:<br>
<br>
D:\testing\VTK\Superquadric>vtkpython superquadric.py<br>
Traceback (most recent call last):<br>
  File "superquadric.py", line 1, in <module>  import vtk<br>
  File "c:\VTK-VS10-x64\lib\site-packages\vtk\__init__.py", line 63, in <module>  __helper.refine_import_err('rendering', 'vtkRenderingPython', exc)<br>
  File "c:\VTK-VS10-x64\lib\site-packages\vtk\__helper.py", line 32, in refine_import_err raise LinkError, str(exc)<br>
vtk.__helper.LinkError: DLL load failed: %1 is not a valid Win32 application.<br>
<br>
I see that somebody was asking exactly the same question back in October, 2010, but there was no answer.<br>
<br>
Any suggestions?<br>
<br>
Thanks<br>
Gib<br>
</div>
</body>
</html>