- type : git clone --recursive https://github.com/dmlc/xgboost.git
- type : cd xgboost
- type : make
- type : cd python-package
- type : python setup.py install --user
- import xgboost as xgb
https://github.com/dmlc/xgboost/blob/master/doc/python/python_intro.md
It fails at the make step with the following error:
/usr/include/c++/7/parallel/tags.h:36:10: fatal error: omp.h: No such file or directory
#include <omp.h>
^~~~~~~
compilation terminated.
make: *** [amalgamation/xgboost-all0.o] Error 1
Using: gcc (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2)