![]() ![]() I installed to C:mingw64 (to avoid spaces in the file path) so I added this to my PATH environment variable: C:mingw64mingw64bin.On the first screen of the install prompt make sure you set the Architecture to x86_64 and the Threads to win32.So heres what I did to finish a 64-bit build on Windows: You can read more about the removal of the MSVC build from Tianqi Chens comment here. Note that as of the most recent release the Microsoft Visual Studio instructions no longer seem to apply as this link returns a 404 error: This gives you xgboost and the scikit-learn wrapper, and saves you from having to go through the pain of compiling it yourself. If it complains about access permissions, try opening your command prompt as Administrator and retry. If you find it wont install because of a missing dependency, download and install the dependency first and retry. pip install xgboost-0.6-cp35-cp35m-win_amd64.whl (or whatever your whl file is named).cd to your Downloads folder (or wherever you saved the whl file).xgboost-0.6-cp35-cp35m-win_amd64.whl for python 3.5 on 64-bit machine) ![]() download xgboost whl file from here (make sure to match your python version and system architecture, e.g.In case anyones looking for a simpler solution that doesnt require compiling it yourself: How to install xgboost package in python (windows platform)? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |