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

發佈了34 篇原創文章 · 獲贊 328 · 訪問量 55萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章