<div dir="ltr"><div>Hi Dr. Thompson,</div><div><br></div><div>Thank you!</div><div><br></div>I tried to add lib and bin folder to the PYTHONPATA but it still failed to find the module. <div><br></div><div>Running vtkPython directly leads python command line with correct vtk module but I'm not very clear about how to run the python test in this way.</div><div><br></div><div>PS. I found two executable files vtkWrapPython-6.3.exe and vtkWrapPythonInit-6.3.exe. What's the use of them?</div><div><br></div><div>Best,</div><div>Lin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 21, 2015 at 9:09 PM, David Thompson <span dir="ltr"><<a href="mailto:david.thompson@kitware.com" target="_blank">david.thompson@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> ... Try setting the PYTHONPATH environment variable to include VTK's lib and lib/site-packages directories. ...<br>
<br>
Correction: lib/site-packages is the way ParaView organizes things, not VTK.<br>
<br>
You still need to add lib (and maybe bin on Windows) to PYTHONPATH, in addition to Wrapping/Python.<br>
<span class="HOEnZb"><font color="#888888"><br>
David</font></span></blockquote></div><br></div>