I do everything in a virtual environment:
python3 -m venv OT-metric-virtualenv
source my-virtualenv/bin/activate
OK get the basic stuff:
python -m pip install numpy scipy matplotlib ipython jupyter pandas sympy nose
python -m pip install Cython
python -m pip install POT
To install
ROOT:
wget https://root.cern.ch/download/root_v6.16.00.source.tar.gz
tar -zxf root_v6.16.00.source.tar.gz
mkdir root-6.16.00_builddir
cd root-6.16.00_builddir
cmake ../root-6.16.00
cmake --build .
source bin/thisroot.sh
To install the Energy Flow package:
python pip install energyflow
Then I setup a session with:
alias setupOT='cd ~/;source OT-metric-virtualenv/bin/activate;source OT-metric-virtualenv/root-6.16.00_builddir/bin/thisroot.sh ;cd -'
--
JohnAlison - 2019-08-05