xgboost is a very popular machine learning library and widely used (for example on kaggle). However, contrary to a lot of other popular libraries it can not be easily installed with conda or pip. You have to compile the library first. The installation guide can be found here. This blog post is a short version of the installation guide and mainly targeted for myself for reference.