xgboost-0.71-cpxx-cpxxm-win_amd64.whlis not a supported wheel on this platform.
当你需要这个比较玄学的xgboost包的时候,但是老是下载失败,一定烦爆炸了。
在此,非常感谢这两篇博客的帮助
https://blog.csdn.net/MrLevo520/article/details/53141692
https://blog.csdn.net/hackerie/article/details/77453081?locationNum=9&fps=1
以下是解决思路:
首先,查看你的python解释器的版本,比如我的python版本是Python 3.6,而且是64位的电脑。
所以我需要去这个链接处找到对应我的版本的xgboost,即xgboost-0.71-cp36-cp36m-win_amd64.whl,然后下载。
然后在该文件所在的目录下,使用
pip installxgboost-0.71-cp36-cp36m-win_amd64.whl
然后就能安装OK。