- 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
To resolve cmake error..run this "sudo pip3 install cmake" (version should >14).