I am a newbie and learning python. Can someone help me- how to install xgboost in python. Im using Mac 10.11. I read online and did the below mentioned step, but not able to
All the other ways described here failed in my case. I managed to install by following the official installation described here: http://xgboost.readthedocs.io/en/latest/build.html#building-on-macos
My system is MacOS Serria so I followed the instruction of "Building on macOS".
However, instead of "replacing these two lines into(5 or 6 or 7; depending on your gcc-version" w.r.t. the config.mk file, I did:
export CC = gcc-5
export CXX = g++-5
Even though gcc-version showed Apple LLVM version 9.0.0.
After that by following the official instruction of "Python Package Installation" I was able to run the package in Python.