macos - 通过自制软件的 gcc 没有 --without-multilib 选项

标签 macos python-3.x gcc anaconda xgboost

我想在 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/

相关文章:

c - 在C程序中包含ffmpeg

Python、Macports 和缓冲区问题

python - 使用 conda 导入 pytorch 时出现问题

python - drop_duplicates python 3.6 的替代方案

macos - OS X 10.9.2 : checking whether the C compiler works. .. 没有

c++ - macOS High Sierra 上的非默认编译器(GCC 或 Vanilla-Clang)链接问题

ios - 当我以格式字符串调用NSLog并进一步使用该时间时,如何获得时间?

swift - NSSpeechSynthesizer 在 macOS 上获取 Siri 声音

c++ - 适用于 C++ Windows 7 64 位 PC 的 Eclipse

python - 我应该如何 scipy.optimize 具有边界的多元且不可微的函数?