如何使用 MinGW 编译 XGBoost

How to Compile XGBoost using MinGW

我正在按照 here and here to get XGBoost for Python running on my Windows 10. I have installed Git for Windows 给出的说明进行操作,但在尝试后续步骤时出现以下错误:

$ cp make/mingw64.mk config.mk; make -j4
cp: cannot stat 'make/mingw64.mk': No such file or directory
make: *** No targets specified and no makefile found.  Stop.

是否有任何更简单的方法来获取 Python 运行 的 XGBoost Windows?

如有任何帮助,我们将不胜感激。

我尝试根据 official guide as well as the steps detailed here 使用 mingw 进行此安装。但不幸的是,即使在我的 windows 10 64 位机器上经过数小时的努力,我也无法使两者都起作用。我一直遇到一些错误或其他错误

最后,对我有用的是将它安装到 anaconda 的 py-xgboost package。这对我来说很容易