"Training failed" Error in Machine Learning Quick Start Project

I just installed Dataiku 13.3.3 (Free Edition) on a MacBook Pro (MacOS 15.3) using Chrome as a browser.
I am going through the Machine Learning Quick Start project following instructions in Dataiku Academy.
I am getting a "Training Failed" error when training the model with the error message below.
I suspect the issue has something to do with the use of Python 3.7 packages, which I understand has been deprecated.
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/Stephen/Library/DataScienceStudio/kits/dataiku-dss-13.3.3-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/Stephen/Library/DataScienceStudio/kits/dataiku-dss-13.3.3-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 15.3
Answers
-
Hi Stephen,
Could you try the following and let me know if this helps?
Steps in MAC Terminal:
1) Install Rosetta 2:
Install Apple Rosetta 2:
/usr/sbin/softwareupdate --install-rosetta
2) Install Homebrew for Universal apps:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
3) Install Homebrew for Intel apps:
cd ~/Downloadsmkdir homebrewcurl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
4) Move the homebrew directory to /usr/local/homebrew
sudo mv homebrew /usr/local/homebrew
5) Add a path to the .zshrc file:
export PATH=$HOME/bin:/usr/local/bin:$PATH
6) Create alias
alias axbrew='arch -x86_64 /usr/local/homebrew/bin/brew'
7) Install libomp for intel processor:
axbrew install libomp
In DSS:
1) Create code env and add the xgboost package:
2) Set the code env in your model design:
3) Enable the xgboost and train the model:
Regards,