最近安装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:\programfiles\Anaconda\envs\tensorflow\Lib\site-packages 路径下 ,成功解决安装问题。


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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
  • 2021-09-14
  • 2021-08-31
猜你喜欢
  • 2022-01-14
  • 2021-06-11
  • 2021-11-09
  • 2021-12-02
  • 2021-06-13
  • 2021-12-08
  • 2021-12-26
相关资源
相似解决方案