pythonwindowsgitxgboost

Missing /bin folder from MinGW-W64 installation


Right now I am working through this walk-through on how to get the xgboost package for python. I'm running on Windows 10.

I've just added C:\Program Files\mingw-w64\x86_64-5.3.0-posix-seh-rt_v4-rev0\mingw64\bin to my path variable, as the instructions dictate. However, when I actually visit using windows explorer C:\Program Files\mingw-w64\x86_64-5.3.0-posix-seh-rt_v4-rev0 I see:

enter image description here

No mingw64\bin folder in sight. This seems to be an issue, because when I try to move on to the next step and double check if the make is findable in the Git Shell, I get the error:

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)

Which is basically a long way of saying that mingw32-make doesn't exist. Why is this? What should I do?

Feel free to ask more questions/suggest edits if my questions aren't clear or reproducible.


Solution

  • I've tried to do the same walk-through but with the tdm-gcc as mingw and it worked

    I suggest you look at the more general answer of Disco4Ever here, on stackoverflow on how to install XGBoost on windows for python