even after
brew install libomp
still existed.
["dlopen(/Users/yangboz/anaconda3/envs/py312/lib/python3.12/site-packages/xgboost/lib/libxgboost.dylib, 0x0006): Library not loaded: /usr/local/opt/libomp/lib/libomp.dylib\n Referenced from: <249AD9BC-FB29-3FD9-972E-779E2749CFB2> /Users/yangboz/anaconda3/envs/py312/lib/python3.12/site-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)"]
Macosx M1 14.6.1
any idea? thanks.