OpenMP runtime is not installed
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
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,112 Neuron
It's worth mentioning that the Dataiku MacOS version is:
- Not meant for production usage
- Only provided for testing and experiments
- Dataiku will not provide support on this platform
So some features may not work. For a fully supported experience I recommend you look at the Dataiku requirements.
-
Hi. I got this same error message after clicking the Train button in the ML Basics tutorial. Ultimately, I fixed it by running the "brew install libomp" command that I noticed in the string of error messages. I had some other issues to resolve to get that installed but they may have been unique to my system.
As for running on Mac OS, I've completed two learning paths so far in the free edition with no other issues. And Mac is listed on the
page, at least for the free edition.