安装XGBoost出现Command python setup.py egg_info failed with error code 1 in


安装XGBoost出现Command python setup.py egginfo failed with error code 1 in /pip-install-b552hjp/xgboost/

解决办法是执行以下命令:

$ brew install [email protected]
$ pip install xgboost