我想在 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!
有任何想法吗?
最佳答案
The option no longer exists, since 8/2017 .许多较旧的第 3 方 xgboost 指令已过时。就做brew install gcc
没有选择,并惊讶于一切仍然有效。
关于macos - 通过自制软件的 gcc 没有 --without-multilib 选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47263504/