<div dir="ltr">I made a silly mistake. VS creates a subfolder bin/Debug and puts all the executable files there. After adding this folder, it works now. :-)</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 21, 2015 at 9:50 PM, Lin M <span dir="ltr"><<a href="mailto:majcjc@gmail.com" target="_blank">majcjc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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="HOEnZb"><div class="h5"><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><font color="#888888"><br>
David</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>