Reputation: 1224
I installed XGBoost via this command:
pip install xgboost
It successfully installed.However i get this error message when i import it:
OSError: dlopen(/Users/Deepak/anaconda/lib/python3.5/site-packages/xgboost/./lib/libxgboost.so, 6): Library not loaded: /usr/local/opt/gcc/lib/gcc/5/libgomp.1.dylib
Referenced from: /Users/Deepak/anaconda/lib/python3.5/site-packages/xgboost/./lib/libxgboost.so
Reason: image not found
Help would truly be appreciated in resolving this issue !
Upvotes: 0
Views: 1063
Reputation: 11
this issue is on github now. dmlc/xgboost/issues
I think this is caused by gcc version. maybe you can try
brew install gcc5 --without-multilib
this works for me
Upvotes: 1