XGBoost 安装方法

最近安装XGBoost直接 pip install xgboost总是失败,上网查找得到解决方法。

解决方法1:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple xgboost(利用清华镜像)

解决方法2:直接从https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/ 下载对应的 压缩包,解压之后得到的 xgboost 放到 D:programfilesAnacondaenvs ensorflowLibsite-packages 路径下 ,成功解决安装问题。


原文链接:https://blog.csdn.net/mtj66/article/details/78764295

原文地址:https://www.cnblogs.com/USTC-ZCC/p/12943103.html