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