en Mac OS yo estaba tratando de comando como el siguiente en la Terminal:
$brew install libomp
**Error**: cmake: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cmake.rb:1: syntax error, unexpected <<
<<<<<<< HEAD
^~
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cmake.rb:84: syntax error, unexpected ===, expecting end-of-input
=======
^~~
cuando se trata con
...
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/lightgbm/lib_lightgbm.so, 6): Library not loaded: /usr/local/opt/libomp/lib/libomp.dylib
Referenced from: /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/lightgbm/lib_lightgbm.so
Reason: image not found