macos – pip install xgboost with error Command python setup.py egg_info failed with error code 1 on mac (Python 2.7)
This is how I installed it for Python 3.7:
brew install [email protected] pip3 install
This is an old question, but I had an issue and realized pip was out of date. Solved my issue.
pip install --upgrade pip pip install xgboost