Install xgboost using pip for Mac OSX

Goal

This post aims to introduce how to install xgboost using pip for Mac OSX.

Reference

Installation Steps

  1. Install gcc5 by brew
  2. Setup environment variable CC and CXX
  3. Install xgboost by pip
    brew install gcc5
    export CC=gcc-5
    export CXX=g++-5
    pip install xgboost
    

Comments

Comments powered by Disqus