我想在Python 3.5中安装xgboost。这需要 gcc 支持-fopenmp
选项。默认 gcc 不支持它。所以我正在使用
brew install gcc --without-multilib
但我得到Warning: gcc: this formula has no '--without-multilib' option so it will be ignored!
有什么想法吗?
自 2017 年 8 月起,该选项不再存在。许多较旧的第三方 xgboost 指令已经过时。只是在没有选择的情况下做brew install gcc
,并惊讶于一切仍然有效。