MinGW-W64 安装中缺少 /bin 文件夹
Missing /bin folder from MinGW-W64 installation
现在我正在研究 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
不存在。为什么是这样?我该怎么办?
如果我的问题不清楚或无法重现,请随时询问更多 questions/suggest 编辑。
我尝试过同样的演练,但是 tdm-gcc as mingw 成功了
我建议您查看 关于如何在 windows 上为 python
安装 XGBoost 的更一般的答案
安装 minGW 的文件夹不能有 spaces 尝试从中删除 space
“程序文件”或使用程序文件。
第 1 步 - https://sourceforge.net/projects/mingw/
转到此站点并安装 mingw 文件管理器
第 2 步 - 然后,从文件管理器或根据您的喜好安装所有。
第 3 步 - 现在,转到系统中的文件资源管理器,查看 mingw 中是否有 bin 文件夹。
希望问题得到解决
现在我正在研究 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
不存在。为什么是这样?我该怎么办?
如果我的问题不清楚或无法重现,请随时询问更多 questions/suggest 编辑。
我尝试过同样的演练,但是 tdm-gcc as mingw 成功了
我建议您查看
安装 minGW 的文件夹不能有 spaces 尝试从中删除 space “程序文件”或使用程序文件。
第 1 步 - https://sourceforge.net/projects/mingw/ 转到此站点并安装 mingw 文件管理器
第 2 步 - 然后,从文件管理器或根据您的喜好安装所有。
第 3 步 - 现在,转到系统中的文件资源管理器,查看 mingw 中是否有 bin 文件夹。
希望问题得到解决