[vtkusers] error running python examples
Amit Joshi
amitjoshi79 at gmail.com
Sat Aug 2 16:13:43 EDT 2008
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
when I run python SimpleTextureMap2D.py at the command line I get
Traceback (most recent call last):
File "SimpleTextureMap2D.py", line 6, in ?
import vtk
ImportError: No module named vtk
my environment contains PYTHONPATH=/Users/joshi/Dev/VTK/bin which is the
location containing all the compiled modules (it also has vtkpython binary)
what am I doing wrong ?
-- Amit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080802/b1e3507a/attachment.htm>
More information about the vtkusers
mailing list