Top lines of Crash Report (if it helps -- whole report too large for this list):<div><br></div><div><div>Process: Python [29949]</div><div>Path: /Users/USER/Library/Enthought/*/Python.app/Contents/MacOS/Python</div><div>Identifier: org.python.python</div><div>Version: 2.7.6 (2.7.6)</div><div>Code Type: X86-64 (Native)</div><div>Parent Process: python.noapp [29820]</div><div>Responsible: bash [29814]</div><div>User ID: 501</div><div><br></div><div>Date/Time: 2015-01-08 12:28:20.646 -0800</div><div>OS Version: Mac OS X 10.10.1 (14B25)</div><div>Report Version: 11</div><div>Anonymous UUID: C31616B5-ACF7-0BF8-668D-F82563980E54</div><div><br></div><div>Sleep/Wake UUID: FC5CB9B2-921D-4F34-A22A-63EDCED729FB</div><div><br></div><div>Time Awake Since Boot: 170000 seconds</div><div>Time Since Wake: 6500 seconds</div><div><br></div><div>Crashed Thread: 0 Dispatch queue: com.apple.main-thread</div><div><br></div><div>Exception Type: EXC_CRASH (SIGABRT)</div><div>Exception Codes: 0x0000000000000000, 0x0000000000000000</div><div><br></div><div>Application Specific Information:</div><div>abort() called</div><div><br></div><div>Thread 0 Crashed:: Dispatch queue: com.apple.main-thread</div><div>0 libsystem_kernel.dylib <span class="Apple-tab-span" style="white-space:pre"> </span>0x00007fff982dc282 __pthread_kill + 10</div><div>1 libsystem_c.dylib <span class="Apple-tab-span" style="white-space:pre"> </span>0x00007fff9081cb73 abort + 129</div><div>2 org.python.python <span class="Apple-tab-span" style="white-space:pre"> </span>0x0000000119b54811 Py_FatalError + 49</div><div>3 org.python.python <span class="Apple-tab-span" style="white-space:pre"> </span>0x0000000119b53bac PyThreadState_Get + 28</div><div>4 org.python.python <span class="Apple-tab-span" style="white-space:pre"> </span>0x0000000119b5000e Py_InitModule4_64 + 62</div><div>5 _cairo.so <span class="Apple-tab-span" style="white-space:pre"> </span>0x0000000111e01851 init_cairo + 657</div><div>6 org.python.python <span class="Apple-tab-span" style="white-space:pre"> </span>0x00000001000e2351 _PyImport_LoadDynamicModule + 177</div><div>7 org.python.python <span class="Apple-tab-span" style="white-space:pre"> </span>0x00000001000e0a4b import_submodule + 315</div><div>8 org.python.python <span class="Apple-tab-span" style="white-space:pre"> </span>0x00000001000e0eea load_next + 234</div><div>9 org.python.python <span class="Apple-tab-span" style="white-space:pre"> </span>0x00000001000e11e0 PyImport_ImportModuleLevel + 336</div><div>10 org.python.python <span class="Apple-tab-span" style="white-space:pre"> </span>0x00000001000be5d3 builtin___import__ + 131</div><div>11 org.python.python <span class="Apple-tab-span" style="white-space:pre"> </span>0x000000010000fe02 PyObject_Call + 98</div><div>12 org.python.python <span class="Apple-tab-span" style="white-space:pre"> </span>0x00000001000bf7b7 PyEval_CallObjectWithKeywords + 87</div><div>13 org.python.python <span class="Apple-tab-span" style="white-space:pre"> </span>0x00000001000c4c65 PyEval_EvalFrameEx + 16885</div><div>14 org.python.python <span class="Apple-tab-span" style="white-space:pre"> </span>0x00000001000c8fb9 PyEval_EvalCodeEx + 2137</div><div><br></div><br><div class="gmail_quote">On Thu Jan 08 2015 at 12:32:25 PM Nick Eubank <<a href="mailto:nickeubank@gmail.com">nickeubank@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi All,</div><div><br></div><div>Trying to install Py2Cairo into an Enthought Canopy installation. Seems to work, but when I try to run "import cairo" I get "PyThreadState_Get: no current thread" and python crashes. </div><div><br></div><div>Any suggestions? Configuration below:</div><div><br></div><div><br></div><div>CONFIGURE: </div><div>
<p><span>$ ./waf configure --libdir=/users/Nick/Library/Enthought/Canopy_64bit/User/lib --prefix=~/Library/Enthought/Canopy_64bit/User</span></p></div><div><br></div><div><br></div><div>CONFIGURE OUTPUT:</div><div> ./options()<br></div><div>
<p><span>Setting top to : </span><span>/Users/Nick/Downloads/py2cairo-1.10.0</span><span> </span></p>
<p><span>Setting out to : </span><span>/Users/Nick/Downloads/py2cairo-1.10.0/build_directory</span><span> </span></p>
<p><span> ./configure()</span></p>
<p><span>Checking for 'gcc' (c compiler) : </span><span>ok</span><span> </span></p>
<p><span>Checking for program python : </span><span>/Users/Nick/Library/Enthought/Canopy_64bit/User/bin/python</span><span> </span></p>
<p><span>Checking for python version : </span><span>(2, 7, 6, 'final', 0)</span><span> </span></p>
<p><span>Checking for library python2.7 : </span><span>yes</span><span> </span></p>
<p><span>Checking for program python2.7-config : </span><span>/opt/local/bin/python2.7-config</span><span> </span></p>
<p><span>Checking for header Python.h : </span><span>yes</span><span> </span></p>
<p><span>Checking for program pkg-config : </span><span>/opt/local/bin/pkg-config</span><span> </span></p>
<p><span>Checking for 'cairo' >= 1.10.0 : </span><span>yes</span><span> </span></p>
<p><span>Configuration:</span></p>
<p><span>PREFIX : /Users/Nick/Library/Enthought/Canopy_64bit/User</span></p>
<p><span>LIBDIR : /users/Nick/Library/Enthought/Canopy_64bit/User/lib</span></p>
<p><span>'configure' finished successfully (3.032s)</span></p>
<p><span>DN51ss1e:py2cairo-1.10.0 Nick$ ./waf build</span></p>
<p><span> ./options()</span></p>
<p><span>Waf: Entering directory `/Users/Nick/Downloads/py2cairo-1.10.0/build_directory'</span></p>
<p><span> ./build()</span></p><p> src/build()</p>
<p><span>[1/9] </span><span>subst: <a href="http://pycairo.pc.in" target="_blank">pycairo.pc.in</a> -> pycairo.pc</span></p>
<p><span>Waf: Leaving directory `/Users/Nick/Downloads/py2cairo-1.10.0/build_directory'</span></p>
<p><span>'build' finished successfully (0.094s)</span></p><p><span>INSTALL OUTPUT: </span></p><p><span> ./options()</span></p><p><span>Waf: Entering directory `/Users/Nick/Downloads/py2cairo-1.10.0/build_directory'</span></p><p><span> ./build()</span></p><p><span> src/build()</span></p><p><span>+ install /Users/Nick/Library/Enthought/Canopy_64bit/User/include/pycairo/pycairo.h (from src/pycairo.h)</span></p><p><span>+ install /users/Nick/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/cairo/_cairo.so (from build_directory/src/_cairo.so)</span></p><p><span>+ install /users/Nick/Library/Enthought/Canopy_64bit/User/lib/pkgconfig/pycairo.pc (from pycairo.pc)</span></p><p><span>Waf: Leaving directory `/Users/Nick/Downloads/py2cairo-1.10.0/build_directory'</span></p><p><span>+ install /users/Nick/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/cairo/__init__.py (from src/__init__.py)</span></p><p><span>+ byte compiling '/users/Nick/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/cairo/__init__.py'</span></p><p><span>
</span></p><p><span>'install' finished successfully (0.777s)</span></p><p><span><br></span></p><p><span><br></span></p></div><div><br></div>
</blockquote></div></div>