for an analysis I need to import the “root_numpy” library in my script, but when I launch it, the module ROOT can not be found. Do you know the reason of it? Is there a library path I should export?
Do you have numpy installed already? As for me, I get an error when doing this inside the git cloned root_numpy directory.
sudo ROOTSYS=$ROOTSYS python setup.py install
Error:
/Users/up/Downloads/build/include/Rtypes.h:37:10: fatal error: 'atomic' file not found
#include <atomic>
^
1 warning and 1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
So I’m also curious from any answers from those with more experience here.
Did you use cmake or ./configure?
I did cmake --enable-python and built with clang but I get this error still after sudo ROOTSYS=$ROOTSYS python setup.py install
/Users/up/Downloads/rootbuild/include/Rtypes.h:37:10: fatal error: 'atomic' file not found #include <atomic> ^ 1 warning and 1 error generated. error: command '/usr/bin/clang' failed with exit status 1