我正在尝试按照此处的指南在我的 mac(osx 10.12.1)上安装 xgboost,但我遇到了一些问题。
通过以下方式获取具有 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)
克隆存储库
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)