<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>As far as I remember, there are no Python modules
in the pre-build installation packages for Windows. I don't remember that
clearly, though, sorry for not willing to check :)</FONT></DIV>
<DIV><FONT face=Arial size=2>Anyway, assuming your Python is installed in
C:\Python25, check the C:\Python25\lib\site-packages, it must contain a
subfolder called "vtk", after you install the wrapper. If it does, but "import
vtk" still fails, check inside that "vtk" subfolder if there are dll-s there
(vtkCommonPython.dll etc.) If there are, try renaming them all manually to *.pyd
(e. g. vtkSomethingSomething.dll -> vtkSomethingSomething.pyd). Since 2.5
Python doesn't recognize *.dll files as it's modules, requiring *.pyd-s
instead.</FONT></DIV>
<DIV><FONT face=Arial size=2>As for PYTHONPATH environment variable - it's not
necessary. All you are really need for it to work are:</FONT></DIV>
<DIV><FONT face=Arial size=2> - vtk dll-s in a folder somewhere on your
system (including vtk*Python.dll and vtk*PythonD.dll-s);</FONT></DIV>
<DIV><FONT face=Arial size=2> - PATH must include that folder;</FONT></DIV>
<DIV><FONT face=Arial size=2> - Appropriate "vtk" folder in your
"site-packages".</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When I need to install Python wrapper on another
machine, I just copy those in there, that's enough.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Good luck.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Vladimir.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hello,<BR> I am download from <A
href="http://www.vtk.org/files/release/5.0/vtk-5.0.3-win32.exe">http://www.vtk.org/files/release/5.0/vtk-5.0.3-win32.exe</A>
and installed to use with Python 2.5, but as I make to relate the VTK with the
Python??</BLOCKQUOTE>
<img src="https://mail2.nap.gsic.titech.ac.jp/cgi-bin/setconfirm.cgi?k=1176721192490981254&u=lazunin.v.aa&d=m.titech.ac.jp" width=1 height=1>
</BODY></HTML>