【发布时间】:2019-08-21 11:58:06
【问题描述】:
我按照here 和here 给出的说明在我的Windows 10 上运行XGBoost for Python。我已经安装了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.
有没有更简单的方法让 XGBoost for Python 运行在 窗户?
任何帮助将不胜感激。
【问题讨论】:
-
谢谢,@MihaiChelaru。让我探索并尝试您的方法。我很快就会回来。
-
嗨,MihaiChelaru。按照您的回答后,我在第 3 步收到此错误。创建 Visual Studio 项目。有什么想法吗?提前致谢。
User@pc MINGW64 ~/xgboost_dir/build (master) $ cmake .. -G"Visual Studio 12 2013 Win64" CMake Error at CMakeLists.txt:2 (project): Failed to run MSBuild command: MSBuild.exe to get the value of VCTargetsPath: The system cannot find the file specified -- Configuring incomplete, errors occurred! See also "C:/Users/User/xgboost_dir/build/CMakeFiles/CMakeOutput.log". -
我相信您正在关注其他用户发布的答案。我的答案使用 VS 2015。您是否在您遵循其说明的帖子下从 this comment 执行了
git submodule init步骤? -
我找到了你的答案。你是对的 - 我遵循了错误的答案。我会尽快更新你。
标签: python-3.x xgboost ming