Hi everyone!
I’ve followed the thread laid out here:
[root.cern.ch/phpBB3/viewtopic.p … 9ae8a01de1](pyRoot on OS X Maverick
and ROOT appears to work just fine - I’ve tried out the $ROOTSYS/tutorials and all of them appear to be working.
This is my setup:
ROOT 5.34/14 (v5-34-14@v5-34-14, Dec 16 2013, 12:23:58 on macosx64)
However, when trying to run pyroot, i.e. import ROOT in a python session, python dies right away:
Python 2.7.6 |Anaconda 1.9.0 (x86_64)| (default, Jan 10 2014, 11:23:15)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
import ROOT
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6
Trying to debug with lldb (apple decided to get rid of gdb) yields marginally more insight but not enough to know what’s going on:
lldb python
Current executable set to ‘python’ (x86_64).
(lldb) run
Process 68145 launched: ‘/Users/zimmer/anaconda/bin/python’ (x86_64)
Python 2.7.6 |Anaconda 1.9.0 (x86_64)| (default, Jan 10 2014, 11:23:15)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
import ROOT
Fatal Python error: PyThreadState_Get: no current thread
Process 68145 stopped
- thread #1: tid = 0x8d92c, 0x00007fff92325866 libsystem_kernel.dylib
__pthread_kill + 10, queue = 'com.apple.main-thread, stop reason = signal SIGABRT frame #0: 0x00007fff92325866 libsystem_kernel.dylib
__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill + 10:
→ 0x7fff92325866: jae 0x7fff92325870 ; __pthread_kill + 20
0x7fff92325868: movq %rax, %rdi
0x7fff9232586b: jmpq 0x7fff92322175 ; cerror_nocancel
0x7fff92325870: ret
(lldb)
I’ve tried to debug this without any success so far and would appreciate if anyone would happen to know a fix on how to resolve this. Thanks!
P.s. I get the same results when I try to follow these instructions
alexpearce.me/2013/12/root-on-os-x-mavericks/
and use homebrew to build root.