pip install xgboost
下载对应的.whl文件,然后使用pip install + whl文件名。
下载地址:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#xgboost
根据Python版本与电脑位数自行匹配下载。