【发布时间】:2016-11-15 08:03:10
【问题描述】:
现在我正在通过this walk-through 研究如何获取 python 的 xgboost 包。我在 Windows 10 上运行。
按照说明,我刚刚将C:\Program Files\mingw-w64\x86_64-5.3.0-posix-seh-rt_v4-rev0\mingw64\bin 添加到我的路径变量中。但是,当我实际使用 Windows 资源管理器C:\Program Files\mingw-w64\x86_64-5.3.0-posix-seh-rt_v4-rev0 访问时,我看到:
看不到mingw64\bin 文件夹。这似乎是一个问题,因为当我尝试继续下一步并仔细检查是否可以在 Git Shell 中找到 make 时,我收到了错误:
C:\Users\thomasjp\Documents\GitHub> which mingw32-make
/usr/bin/which: no mingw32-make in (/cmd:/usr/bin:/usr/share/git-tfs:/c/Users/thomasjp/AppData/Local/Apps/2.0/03NZLAC2.ADB/NNC33V77.BDA/gith..tion_317444273a93ac29_0003.0001_cbe40ecbe3e419d4:/c/Users/thomasjp/AppData/Local/GitHub/lfs-amd64_1.2.0:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files/Intel/WiFi/bin:/c/Program Files/Common Files/Intel/WirelessCommon:/c/Program Files (x86)/Brackets/command:/c/Program Files/mingw-w64/x86_64-5.3.0-posix-seh-rt_v4-rev0/mingw64/bin:/c/Program Files (x86)/Skype/Phone:/c/Users/thomasjp/Miniconda3:/c/Users/thomasjp/Miniconda3/Scripts:/c/Users/thomasjp/Miniconda3/Library/bin:/c/Program Files/Intel/WiFi/bin:/c/Program Files/Common Files/Intel/WirelessCommon:/c/Program Files (x86)/MSBuild/14.0/bin)
这基本上可以说mingw32-make 不存在。为什么是这样?我该怎么办?
如果我的问题不清楚或无法重现,请随时提出更多问题/提出修改建议。
【问题讨论】:
-
我已经有一段时间没有为 Windows 构建任何东西了,但我认为您需要通过 MinGW 安装一些软件包。
标签: python windows git xgboost