Skip to content Skip to sidebar Skip to footer

Unable To Import Xgboost In Python

I have installed xgboost successfully using pip for Python 2.7.16 (I installed this Python version using Homebrew on macOS High Sierra). My problem is that I'm unable to import xgb

Solution 1:

Install xgboost first:

pip install xgboost

Then use:

brew install libomp

At last:

import xgboost as

Post a Comment for "Unable To Import Xgboost In Python"