Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22198

How can i install LightGBM? Error about Could not find OpenMP_C in Mac

$
0
0

I am using Mac os and installing Lightgbm

pip uninstall lightgbmgit clone --recursive https://github.com/Microsoft/LightGBM ; cd LightGBMexport CXX=g++-8 CC=gcc-8mkdir build ; cd buildcmake ..make -j4

I can't install gcc@8 , gcc@7 and so on,so I tried brew install gcc and it worked.

But cmake .. is failed. The error message:

Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)

error
error picture


Viewing all articles
Browse latest Browse all 22198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>