Problems with root_numpy

Dear experts,

I have just installed root v 6.09/01, with python 2.7.13. I also have installed numpy 1.11.2 (with pip ). So, pyROOT seems to work fine, but I have problems with root_numpy. I have installed it via pip and I get the following error message while importing.

Traceback (most recent call last):
File “”, line 1, in
File “/Users/nserra/LHCb/ROOT/root_6/root/lib/ROOT.py”, line 318, in _importhook
return _orig_ihook( name, *args, **kwds )
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/root_numpy/init.py”, line 51, in
from ._tree import (
File “/Users/nserra/LHCb/ROOT/root_6/root/lib/ROOT.py”, line 318, in _importhook
return _orig_ihook( name, *args, **kwds )
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/root_numpy/_tree.py”, line 6, in
from . import _librootnumpy
File “/Users/nserra/LHCb/ROOT/root_6/root/lib/ROOT.py”, line 318, in _importhook
return _orig_ihook( name, *args, **kwds )
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/root_numpy/_librootnumpy.so, 2): Library not loaded: /usr/local/lib/root/libCint.so
Referenced from: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/root_numpy/_librootnumpy.so
Reason: image not found

I have tried to uninstall and re-install everything multiple times in different ways, but probably not in the right one. Now I am stuck so any help would be highly appreciated!

Thanks in advance!
Nico

Hi Nico,

it seems that your root_numpy package installation is built against ROOT5.

ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/root_numpy/_librootnumpy.so, 2): Library not loaded: /usr/local/lib/root/libCint.so
Referenced from: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/root_numpy/_librootnumpy.so
Reason: image not found

This cannot work with ROOT6.

Cheers,
D