![]() ![]() Now restart Python/Anaconda and you should be able to import the library. This should configure it cleanly and build the library. Save the file and now you need to run a cleaning step since you changed the Makefile. Save the file.Īlso, make changes to the file xgboost/Makefile change lines 47 and 50 to reflect the commands above. ![]() It did not for me I needed to add the -6 to both lines. It is possible that simply uncommenting the lines solves the problem. Uncomment the lines near the top of the file:Ĭhange them to the following: export CC = gcc - 6 Now, use your favorite editor (I used vi), and go into the file that you copied from /make to /xgboost vi config. is in the packages that are available either through the pip or conda package managers. The problem is that some key lines in the make files are commented out and also not fully specified. As a first step, install Python for Windows, MacOS, or Linux. The next series of steps differ from the documentation on the xgboost site, and I cobbled it together from lots of sources and also experimenting. I downloaded it to Anaconda/pkgs directory. You might get some warnings to unlink directories or delete them if you have other versions installed follow the warnings/instructions. It took me a while to work through the various issues, but it is now running nicely in my Anaconda (P圓6) environment.įor multi-threading you need to do the following first (install homebrew if you have not done so): brew install gcc - without - multilib For the record, I am using a Mac with OS X 10.10 (Yosemite). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |