Mac 安装 XGBoost Python库

来源:互联网 发布:淘宝代写作业 编辑:程序博客网 时间:2024/06/08 09:40

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:

这里写图片描述

原创粉丝点击