[vtkusers] no module named vtk

Aron Wahlberg aron at simula.no
Wed Mar 3 06:56:48 EST 2010


I get the following error when I try to import vtk

Aron-Wahlbergs-MacBook-Pro:vtk-5.4 aron$ python -c 'import vtk'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named vtk


I have installed vtk via macports and have the following version:

port installed vtk-devel
The following ports are currently installed:
vtk-devel @5.4.2_1+cocoa+data+doc+examples+shared+testing (active)

I'm somewhat of a newbie on those things and would appreciate any help to track down the problem.

Aron


More information about the vtkusers mailing list