相关疑难解决方法(0)

如何使用多线程在 OSX 上安装 XGBoost

我正在尝试按照此处的指南在我的 mac(osx 10.12.1)上安装 xgboost,但我遇到了一些问题。


第1步

通过以下方式获取具有 openmp 支持的 gcc-6.xx brew install gcc --without-multilib

终端

Ben$ brew install gcc --without-multilib
Error: gcc-5.3.0 already installed
To install this version, first `brew unlink gcc`

Ben$ brew unlink gcc
Unlinking /usr/local/Cellar/gcc/5.3.0... 1288 symlinks removed

Ben$ brew install gcc --without-multilib
[26 minutes later]
==> Summary
  /usr/local/Cellar/gcc/6.2.0: 1,358 files, 238.3M, built in 26 minutes 20 seconds
Run Code Online (Sandbox Code Playgroud)

第2步

克隆存储库 git clone --recursive https://github.com/dmlc/xgboost

终端

Ben$ git clone --recursive https://github.com/dmlc/xgboost
Cloning into 'xgboost'...
remote: Counting objects: …
Run Code Online (Sandbox Code Playgroud)

c++ macos r xgboost

6
推荐指数
1
解决办法
2358
查看次数

标签 统计

c++ ×1

macos ×1

r ×1

xgboost ×1