Skip to main content
 首页 » 编程设计

python之如何在运行 python3.5 的 anaconda 上安装 xgboost

2024年10月01日7fff_TT

我正在尝试在我的 anaconda(python3.5、mac OSX)上安装 xgboost。

conda install -c aterrel xgboost=0.4.0 

xgboost包好像不支持python3.5??

UnsatisfiableError: The following specifications were found to be in conflict: 
  - python 3.5* 
  - xgboost 0.4.0* 

如果有人能提供帮助,我将不胜感激。如何使用 conda install 安装软件包?

请您参考如下方法:

在官方网站上逐步尝试:

http://xgboost.readthedocs.io/en/latest/build.html

xgboost 构建在 Windows 上可能有些棘手,但在 Mac 上非常简单。

我建议您先卸载您安装的无法正常工作的先前版本。

我还建议您获取最新版本。 (我相信是 0.62)