no module named vtk

Aron Wahlberg aron at
Wed Mar 3 04:07:28 PST 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.


More information about the macports-users mailing list