Installing xgboost on an AWS EC2 Linux instance

Install Python3 and create a virtual environment:

Add the virtual environment to the python path:

Then install git and gcc:

Installing xgboost from source:

Inside a python REPL:


Home