scikit-hep / root_numpy

The interface between ROOT and NumPy

Home Page:http://scikit-hep.org/root_numpy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Link to ROOT libs without version numbers in the path

admorris opened this issue · comments

I have root_numpy installed via pip and root installed via dnf.

When I upgrade root between the second-most-major version numbers (e.g. 6.12 to 6.14) I get this kind of error when importing root_numpy:

ImportError: libCore.so.6.12: cannot open shared object file: No such file or directory

which I fix by reinstalling root_numpy. I shouldn't have to do this, though. It should link to libCore.so.

Hi @abmorris -- you have to recompile root_numpy if you change/update your root installation. This is expected. Also see https://www.python.org/dev/peps/pep-0384/ which I think only works/is available on python3.