anaconda 一步安装 xgboost

网上找了一大堆如何安装xgboost的方法,一打开jupyter却都无法import。

 

原来在这里直接就可以安装了:

 

打开anaconda,environments界面:

anaconda 一步安装 xgboost

选择all(所有的库),搜索xgboost,然后勾选你所需要的xgboost的库。

anaconda 一步安装 xgboost

然后点击右下角Apply,再试试

anaconda 一步安装 xgboost

 

OK了。