<div dir="ltr">The easiest way is to install Pythonx,y, it comes with tens of usefull libraries including itk and vtk.<br><br>Give it a try <a href="http://www.pythonxy.com/">http://www.pythonxy.com/</a><br><br>Jothy<br><br>
<div class="gmail_quote">On Tue, Nov 2, 2010 at 2:05 AM, Prathamesh Kulkarni <span dir="ltr"><<a href="mailto:prathameshmkulkarni@gmail.com">prathameshmkulkarni@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hello all,<div><br></div><div>I want to be able to use VTK in Python. I have installed VTK with BUILD_SHARD_LIBS and WRAP_PYTHON. Then I build VTK in debug mode. </div><div>I get a lot of files in C:\VTK\VTK_BIN_DIR\Wrapping\Python. I tried to do many things with this:</div>
<div><br></div><div>1. Create a new environment variable called PYTHONPATH and add the above path there</div><div>2. copy everything in that path to a new directory called VTK inside site_packages</div><div><br></div><div>
None of this seems to work and I cannot do a 'import vtk'. I keep getting the error: 'ImportError: No module named VTK' </div><div><br></div><div>Please point me out to a formal way of helping python 'see' vtk</div>
<div><br></div><div>Thanks,</div><div>Prathamesh</div><div><br></div><div><br></div><div><br></div><div><br></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>