How to install xgboost in python on MacOS?

前端 未结 9 840
别那么骄傲
别那么骄傲 2020-12-23 22:19

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

9条回答
  •  情书的邮戳
    2020-12-23 22:57

    I followed Bryan Butler's answer and it worked, I just needed to make some changes:

    • gcc-7/g++-7 instead of gcc-6/g++-6.
    • While running make clean_all && make -j4 I had an error with as. So, I just had to run export PATH=/usr/bin:$PATH and it worked!

提交回复
热议问题