PyROOT in Spyder

Hi Dom,

what exactly should I do in this case? I am still very confused…

I changed:

now the error is:

>>> runfile('/Users/renormalization/.spyder2/temp.py', wdir='/Users/renormalization/.spyder2') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/widgets/externalshell/sitecustomize.py", line 685, in runfile execfile(filename, namespace) File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/widgets/externalshell/sitecustomize.py", line 78, in execfile builtins.execfile(filename, *where) File "/Users/renormalization/.spyder2/temp.py", line 17, in <module> import ROOT File "/Users/renormalization/root/lib/ROOT.py", line 24, in <module> import cppyy File "/Users/renormalization/root/lib/cppyy.py", line 60, in <module> import libPyROOT as _backend ImportError: dlopen(/Users/renormalization/root/lib/libPyROOT.so, 2): Library not loaded: @rpath/libCore.so Referenced from: /Users/renormalization/root/lib/libPyROOT.so Reason: image not found

Best,
Tony

[quote=“Dominique”][url]PyROOT issues on OS X 10.11 (El Capitan)

Apple SIP removes envars such as LD_LIBRARY_PATH for system python.

-Dom[/quote]