I've been struggling with installing the VTK package all day, and finally it looked like everything installed successfully.
When I import vtk I get the error:
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6
That's using the default env python which points to /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
If I use /usr/bin/python, which points to /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7/
it seems to work fine!
How can I get the vtk module to work for my default python?
Why I want to use /opt/local/ python instead of /System/ python:
All of my other modules are installed via MacPorts for the /opt/local/ python installation. So if I use /opt/local/bin/python to import vtk, then I suddenly can't use matplotlib, scipy etc.
Why I can't install vtk with MacPorts:
I keep getting errors with the macports vtk installation --- I've submitted a trac error, but haven't heard anything yet.
Thanks!