<div dir="ltr">You could debug with vmmap, to see which shared libraries are loaded in the process.<div>Or start under lldb and look at output of `image list` when it aborts.</div><div><br></div><div>Isaiah</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 7, 2017 at 4:26 PM, Jayson Kempinger <span dir="ltr"><<a href="mailto:jkempinger@decisionvis.com" target="_blank">jkempinger@decisionvis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, I’m trying to install VTK on an iMac running 10.12.  I’m using python 3.5.2, compiled from source, and am compiling VTK-7.1.1 from source.<br>
<br>
When I run python3 (with -v and -d) and try to import vtk python crashes with the following error:<br>
<br>
>>> import vtk<br>
# /Users/username/build/lib/<wbr>python3.5/site-packages/vtk/__<wbr>pycache__/__init__.cpython-35.<wbr>pyc matches /Users/username/build/lib/<wbr>python3.5/site-packages/vtk/__<wbr>init__.py<br>
# code object from '/Users/username/build/lib/<wbr>python3.5/site-packages/vtk/__<wbr>pycache__/__init__.cpython-35.<wbr>pyc'<br>
# /Users/username/build/lib/<wbr>python3.5/__pycache__/__<wbr>future__.cpython-35.pyc matches /Users/username/build/lib/<wbr>python3.5/__future__.py<br>
# code object from '/Users/username/build/lib/<wbr>python3.5/__pycache__/__<wbr>future__.cpython-35.pyc'<br>
import '__future__' # <_frozen_importlib_external.<wbr>SourceFileLoader object at 0x1073032e8><br>
# /Users/username/build/lib/<wbr>python3.5/site-packages/vtk/__<wbr>pycache__/vtkCommonCore.<wbr>cpython-35.pyc matches /Users/username/build/lib/<wbr>python3.5/site-packages/vtk/<wbr>vtkCommonCore.py<br>
# code object from '/Users/username/build/lib/<wbr>python3.5/site-packages/vtk/__<wbr>pycache__/vtkCommonCore.<wbr>cpython-35.pyc'<br>
Fatal Python error: PyThreadState_Get: no current thread<br>
zsh: abort      python3 -v -d<br>
<br>
>From what I’ve read online it sounds like this is due to a python mismatch, i.e. building VTK against a different python version than the version it is run under.  I’ve searched through the advanced cmake configuration and can’t find any reference to the system built-in python2 interpreter.<br>
<br>
Any suggestions on what might be going wrong?<br>
<br>
Thanks!<br>
Jayson<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>