<div dir="ltr">I have compiled vtk distribution (4.0) on my macbook (darwin 8.11.1), I was wondering why I would be getting an error while running a python example in the volumnRendering sample code<br><br>when I run python SimpleTextureMap2D.py at the command line I get<br>
<br>Traceback (most recent call last):<br> File "SimpleTextureMap2D.py", line 6, in ?<br> import vtk<br>ImportError: No module named vtk<br><br>my environment contains PYTHONPATH=/Users/joshi/Dev/VTK/bin which is the location containing all the compiled modules (it also has vtkpython binary) <br>
<br>what am I doing wrong ?<br><br>-- Amit<br></div>