After upgrading to OS X 10.11 El Capitan, importing ROOT in a python session gives the following error:
Python 2.7.10 (default, Aug 22 2015, 20:33:39)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.1)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
Traceback (most recent call last):
File “”, line 1, in
File “/Users/attikis/ROOT/root-v5-34/lib/ROOT.py”, line 103, in
import libPyROOT as _root
ImportError: dlopen(/Users/attikis/ROOT/root-v5-34/lib/libPyROOT.so, 2): Library not loaded: @rpath/libCore.so
Referenced from: /Users/attikis/ROOT/root-v5-34/lib/libPyROOT.so
Reason: image not found
I am using ROOT 6-05-02 on a macbook pro with (system) python 2.7.10. Same problem appears when working with ROOT 5-34-34.
I have come across other forum entries with similar problems but none offer a solution (yet).