[vtkusers] VTK Python Wrapping OSX 10.9

Laurent Chauvin lchauvin at bwh.harvard.edu
Tue Apr 29 17:36:17 EDT 2014


Hello VTK Users,

I'm trying to run an example of VTK (the vtk Cube.py example) in python on
Mac OSX 10.9.
I have VTK 5.10.1 and python 2.7.5.

I read this page:
http://www.vtk.org/Wiki/VTK/Tutorials/PythonEnvironmentSetup

which solved the 'no module named vtk' error, but now, I got another error:

Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6

I heard the VTK 5.10 is not compatible with OSX 10.9, but it was a while
ago (end of 2013).

The example is working when I use the python interpreter in Slicer, so my
guess is this is an issue with the environment path, but I cannot figure it
out.

Does anyone already ran vtk python examples in OSX 10.9 ?

Thank you very much.
-Laurent

-- 
Laurent Chauvin, MS
Surgical Navigation and Robotics Laboratory, Radiology Department
Brigham And Women's Hospital, Harvard Medical School
http://wiki.ncigt.org/index.php/User:Lchauvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140429/5e9e3337/attachment.html>


More information about the vtkusers mailing list