<div dir="ltr">All,<div><br></div><div>I'm trying to use Python Wrapping for VTK on Mac OS. I'm running Mac OS X 10.10.3 and used cmake 3.2.2, XCode 6.3.2, Python 2.7, VTK-6.2 to build VTK. (I made sure Shared libraries and Python wrapping were turned on during cmake process). </div><div><br></div><div>Everything built fine but I get '<i>No module named vtk</i>' error when I try to 'import vtk' in a python shell. Below are my .bash_profile variables</div><div><span class=""><br></span></div><div><span class="">-------------------</span>--------------------------------------</div><div><span class="">export PATH=</span>~/MyPrograms/VTK-6.2.0-Build/lib/:~/MyPrograms/VTK-6.2.0-Build/bin:$PATH</div><div><p class=""><span class="">export PYTHONPATH=~/MyPrograms/VTK-6.2.0/Wrapping/Python:~/MyPrograms/VTK-6.2.0-Build/bin</span></p>
<p class="">export LD_LIBRARY_PATH=~/MyPrograms/VTK-6.2.0-Build/lib/<br><span class=""></span></p>
<p class="">export DYLD_FALLBACK_LIBRARY_PATH=~/MyPrograms/VTK-6.2.0-Build/bin/<br><span class=""></span></p><p class="">---------------------------------------------------------<br></p><p class="">Can someone please help me fix this error?<br></p><p class="">Prashanth</p></div></div>