Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-o2julgbe/xgboost/

Linux下通过pip install xgboost命令安装xgboost出错“XGBoostLibraryNotFound: Cannot find XGBoost Libarary in the candicate path, did you install compiler”,"Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-o2julgbe/xgboost/"的解决方法如下:

第一步:sudo apt-get update

第二步:sudo apt-get install python-pip

第三步:pip install xgboost

你可能感兴趣的:(Linux)