Hi,
I have installed ROOT 5.34/30 some time ago.
Now I want to enable PyROOT and then install rootpy.
To install PyROOT I have to run
./configure [–with-python-incdir=][–with-python-libdir=>dir>]
according to https://root.cern.ch/root/htmldoc/guides/users-guide/ROOTUsersGuide.html#python-and-ruby-interfaces
So I have typed in the Ubuntu terminal
find / -name “libpython*.so*” -o -name “libpython*.dylib*”
and I obtained
/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
/usr/lib/x86_64-linux-gnu/libpython2.7.so
/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1
/usr/lib/x86_64-linux-gnu/libpython3.5m.so
Then I typed
find / -name ‘Python.h’
and I obtained
/usr/include/python2.7/Python.h
/usr/include/python3.5m/Python.h
So, in the folder “root” which I get after decompress the root_v5.34.30.source.tar.gz file, I typed
./configure [–with-python-incdir=/usr/include/python2.7/Python.h][–with-python-libdir=/usr/lib/x86_64-linux-gnu/libpython2.7.so]
but I received the following error:
bash: arch: No such file or directory
On the other hand, if I try
git clone git://github.com/rootpy/rootpy.git
python setup.py install --user
I get
ROOT cannot be imported. Is ROOT installed with PyROOT enabled?
How Can I enable PyROOT and then install rootpy?
Thank you very much in advance.