pip install xgboost
报错:__builtin__.XGBoostLibraryNotFound: Cannot find XGBoost Library in the candidate path, did you install compilers and run build.sh in root path?
List of candidates:/tmp/pip-build-9YXNOj/xgboost/xgboost/libxgboost.so
/tmp/pip-build-9YXNOj/xgboost/xgboost/../../lib/libxgboost.so
/tmp/pip-build-9YXNOj/xgboost/xgboost/./lib/libxgboost.so
/home/sjh/anaconda2/xgboost/libxgboost.so
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-9YXNOj/xgboost/
解决方法: 直接输入命令:conda install -c conda-forge xgboost