-
Notifications
You must be signed in to change notification settings - Fork 144
Installing manually
Alex Rogozhnikov edited this page Aug 8, 2016
·
15 revisions
type in bash
pip install rep --no-dependencies
is the simplest way to start, though you will need to do some actions from below later, when you try to use other ML libraries.
Assuming you have clean Ubuntu 14.04:
sudo apt-get install python-dev libblas-dev libatlas-dev liblapack-dev gfortran g++ python-setuptools
Matplotlib:
sudo apt-get install libpng-dev libjpeg8-dev libfreetype6-dev libxft-dev
Update pip:
which pip || sudo easy_install pip
sudo pip install --upgrade pip
Install Python dependencies:
sudo pip install -r https://github.com/yandex/rep/raw/master/requirements.txt
export LC_ALL=C
git clone git@github.com:yandex/rep.git
pip install rep
pip install hep_ml
-
install ROOT 5.XX.XX https://root.cern.ch/drupal/content/installing-root-source
-
add to
~/.bashrc
source PATH_TO_ROOT/libexec/thisroot.sh
- Install additional libraries to work with ROOT
pip install root_numpy
pip install xgboost==0.4a30
For more detailed instructions (they will work on Linux) with conda environment, see https://github.com/yandex/rep/blob/master/ci/install_rep_environment.sh