How to install xgboost in python on MacOS?

前端 未结 9 812
别那么骄傲
别那么骄傲 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:54

    FOR PYTHON 2.7

    $ conda install -c aterrel xgboost=0.4.0
    

    OR

    $ conda install -c biconda xgboost=0.6a2
    

    FOR PYTHON 3.6

    $ brew install gcc@5
    $ pip install xgboost
    

提交回复
热议问题