Problem to install Lightgbm

225 views
Skip to first unread message

Louis Wong

unread,
Nov 19, 2021, 10:15:30 PM11/19/21
to conda - Public
In the Mac, I installed lightgbm but when I tred to "from lightgbm import LGBMClassifier", I encountered that following errors:
"OSError: dlopen(/Users/louiswong/opt/anaconda3/lib/python3.8/site-packages/lightgbm/lib_lightgbm.so, 6): Library not loaded: /usr/local/opt/libomp/lib/libomp.dylib Referenced from: /Users/louiswong/opt/anaconda3/lib/python3.8/site-packages/lightgbm/lib_lightgbm.so Reason: image not found"
And the package was not loaded......

Can anyone please help?

Thanks.

Reply all
Reply to author
Forward
0 new messages