环境:win10 64位+python 3.7
xgboost包下载地址:https://www.lfd.uci.edu/~gohlke/pythonlibs/#xgboost
xgboost库在anaconda下的安装
我下载到自己电脑地址:C:\Users\15520\Desktop\AI\anaconda\xgboost

下载完成后,打开anaconda操作界面:
xgboost库在anaconda下的安装
切换到对应目录:
cd C:\Users\15520\Desktop\AI\anaconda\xgboost

进行xgboost安装:
pip install xgboost-1.0.1-cp37-cp37m-win_amd64.whl

安装完成!

相关文章: