Skip to content Skip to sidebar Skip to footer

Install Xgboost Under Python With 64-bit Msys Failing

I want to install xgboost using anaconda python. In this process, I am trying to install xgboost. While trying to 'make' the xgboost i am getting the below error: C:\GitRepository\

Solution 1:

If you are really using MSYS2, then you should not be downloading separate compilers. You should install 64-bit g++ using MSYS2's package manager, by running pacman -S mingw-w64-x86_64-toolchain. Then make sure that you start the MSYS2 shell using the shortcut that is named something like "MSYS2 Win64 Shell" in your start menu. Type which g++ in Bash and make sure it outputs /mingw64/bin/g++. Then you should be able to compile code for 64-bit Windows.

I'm not sure that this answer is complete. If you need more help with MSYS2, it would be good to post the exact commands you are running to download/extract the source code and build so that others can reproduce the error.

Post a Comment for "Install Xgboost Under Python With 64-bit Msys Failing"