python 3.6 的 xgboost 包

xgboost pckage for python 3.6

我正在尝试在 window 和 python 3.6.5 中安装 xgboost0.72 它向我显示以下错误:

xgboost-0.72-cp37-cp37m-win32.whl is not a supported wheel on this platform.

谁能帮我看看哪个版本的 xgboost 与 python 3.6.5 兼容。 谢谢 零

尝试做:

pip install xgboost

对我有用。

或者试试这个:

  1. 从 [此处][1] 下载 xgboost whl 文件(确保匹配您的 python 版本和系统架构,例如 "xgboost-0.6-cp35-cp35m-win_amd64.whl" 用于 64 位机器上的 python 3.5 )
  2. 打开命令提示符
  3. cd 到您的下载文件夹(或保存 whl 文件的任何位置)
  4. pip install xgboost-0.6-cp35-cp35m-win_amd64.whl(或您的 whl 文件的任何名称)

来源: