美文网首页
How to install xgboost in ubuntu

How to install xgboost in ubuntu

作者: MarkSJL | 来源:发表于2017-03-09 10:05 被阅读0次

    pip install xgboost

    Error:

    Downloading/unpacking xgboost  Could not find aversion that satisfies there quirement xgboost (from versions:0.4a12,0.4a13,0.4a14,0.4a15,0.4a18,0.4a19,0.4a20,0.4a21,0.4a22,0.4a23,0.4a24,0.4a25,0.4a26,0.4a27,0.4a28,0.4a29,0.4a30)Cleaning up...No distributions matching the version for xgboost Storing debug logfor failurein/home/hadoop/.pip/pip.log

    So:

    sudo apt-get update

    Also the same error, badly!

    go on:

    sudo -H pip install --pre xgboost

    Finally succeed!

    Successfully built xgboost

    Installing collected packages: scikit-learn, xgboost

    Successfully installed scikit-learn-0.18.1 xgboost-0.6a2

    相关文章

      网友评论

          本文标题:How to install xgboost in ubuntu

          本文链接:https://www.haomeiwen.com/subject/owhwgttx.html