How To Install Xgboost For Anaconda Python On Mac

Join GitHub today

The xgboost documentation recommends installing xgboost with pip, another standard Python installer. While I could use anaconda to install pip (since I'd like to keep all my Python packages all under one roof), I couldn't use pip to install xgboost.

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments

commented Nov 6, 2017

In anaconda prompt, I activated tensorflow using :

Software

activate tensorflow

I want to install xgboost in this tensorflow environment. I tried using this command :

conda install -c conda-forge xgboost

PackageNotFoundError: Packages missing in the current channels
-xgboost

commented Nov 6, 2017

What platform are you on? It looks like the conda-forge xgboost is only available for 64-bit Linux and Mac. The default conda channels have py-xgboost, r-xgboost, and libxgboost for linux 32+64, Mac 64, Win 32+64. ( i.e. conda install py-xgboost ) You can see the full list of what 'xgboost' conda packages are available on Anaconda Cloud here: https://anaconda.org/search?q=xgboost

commented Nov 7, 2017

I am working on windows 64-bit platform. From the above link provided by you, I tried the following command :

conda install -c anaconda py-xgboost

And this solved my issue.
Thanks for the help!

commented Nov 7, 2017

Great!

closed this Nov 7, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
    Search