
#Conda install xgboost install#
C:\Users\IBM_ADMIN\code\xgboost\python-package>python setup.py install The point is to move to the python-package directory of XGBoost. For Anaconda, I will simply use the Anaconda prompt,Īnd type the following in it (after the prompt, in my case Ĭ:\Users\IBM_ADMIN>): C:\Users\IBM_ADMIN>cd code\xgboost\python-package What follows depends on the Python distribution Once the last command completes the build is done. Good luck!Īlso copied below the original contents in case the link is not available. The trick is after installing successfully for regular Python, to have it work for Anaconda, you just need to pull up the Anaconda prompt and cd into this folder "code\xgboost\python-package", then run: python setup.py installĪnd voila! The article says you need to add the path, but for me it worked directly. I then searched again and found this great article which made it! I recognized this is due to the fact that Anaconda has a different Python distribution. But when I tried to import using Anaconda, it failed.
#Conda install xgboost windows#
I was able to install xgboost for Python in Windows yesterday by following this link. Type pip install C:\xgboost-0.6-cp36-cp36m-win_amd64.whlĪfter trying some things the only thing that worked for me is: conda install -c anaconda py-xgboost.I downloaded xgboost-0.6-cp36-cp36m-win_amd64.whl for anaconda 3 (python 3.6) This fixed the problem for me with no problems. Without searching in conda list of channels, you can install it using (source: ) : conda install -c anaconda py-xgboostĪnaconda's website addresses this problem here. If you're in a Unix system you can choose any other package with " linux-64" on the right. You will get a list of install-able features like this:įor example if you want to install the first one on the list mndrake/xgboost (FOR WINDOWS-64bits): conda install -c mndrake xgboost The easiest way (Worked for me) is to do the following: anaconda search -t conda xgboost
