xgboost 0.4 和 0.6 不兼容 导致需要升级到0.6 。
尝试了各种方法安装xgboost,
最简单的 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple xgboost
最后没办法 直接从https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/ 下载对应的 压缩包,解压之后得到的 xgboost 放到 D:\programfiles\Anaconda\envs\tensorflow\Lib\site-packages 路径下 ,成功解决安装问题。
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/
本文解决了因xgboost版本不兼容导致的问题,通过多种方式尝试安装xgboost0.6版本,最终采用手动下载对应版本压缩包并放置于Anaconda环境中指定路径的方法成功解决。

4534

被折叠的 条评论
为什么被折叠?



