mac安装xgboost方法(最简单方式)

Posted Lenskit

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mac安装xgboost方法(最简单方式)相关的知识,希望对你有一定的参考价值。

百度上使用 brew install llvm, brew install clang-omp,再pip install xgboost的方法,试了不行。

还有要下载安装包,升级gcc 的方式,也没有安装成功。

最后使用conda install py-xgboost命令,

期间出现报错:RemoveError: 'requests' is a dependency of conda and cannot be removed from conda's operating environment.,使用conda update --force conda命令,再次尝试conda install py-xgboost,安装成功。

以上是关于mac安装xgboost方法(最简单方式)的主要内容,如果未能解决你的问题,请参考以下文章