OpenMP runtime is not installed

Muriel
Muriel Registered Posts: 3 ✭✭

Hi, I received the error below. How can I resolve it ?

Failed to train : <class 'xgboost.core.XGBoostError'> : XGBoost Library (libxgboost.dylib) could not be loaded. Likely causes: * OpenMP runtime is not installed - vcomp140.dll or libgomp-1.dll for Windows - libomp.dylib for Mac OSX - libgomp.so for Linux and other UNIX-like OSes Mac OSX users: Run `brew install libomp` to install OpenMP runtime. * You are running 32-bit Python on a 64-bit OS Error message(s): ["dlopen(/Users/murielbekto/Library/DataScienceStudio/kits/dataiku-dss-13.0.1-osx/python37.packages/xgboost/lib/libxgboost.dylib, 0x0006): Library not loaded: /usr/local/opt/libomp/lib/libomp.dylib\n Referenced from: <4D0FF2E5-E6B5-33EC-95A4-F63DEE574377> /Users/murielbekto/Library/DataScienceStudio/kits/dataiku-dss-13.0.1-osx/python37.packages/xgboost/lib/libxgboost.dylib\n Reason: tried: '/usr/local/opt/libomp/lib/libomp.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/libomp/lib/libomp.dylib' (no such file), '/usr/local/opt/libomp/lib/libomp.dylib' (no such file), '/usr/local/lib/libomp.dylib' (no such file), '/usr/lib/libomp.dylib' (no such file, not in dyld cache)"]

Operating system used: MacOs

Operating system used: MacOs

Operating system used: MacOs

Operating system used: MacOs

Answers

Setup Info
    Tags
      Help me…