您的位置:首页 > 编程语言 > Python开发

Mac 安装 XGBoost Python库

2017-12-19 17:39 429 查看

Mac 安装 XGBoost Python库

1使用终端输入:

git clone --recursive https://github.com/dmlc/xgboost


终端输出:



2.在终端输入:

bash build.sh


终端输出:



3. 在终端输入:

1.cd python-package
2.sudo python setup.py install


终端输出:Finished processing dependencies for xgboost==0.6 就表示成功了。



4. 安装成功后查看Pycharm—> Preferences—> Project Interpreter 就可以找到xgboost:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  终端 git python