Skip to content

Update Conda install docs #11404

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

Closed
wants to merge 1 commit into from

Conversation

jakirkham
Copy link
Contributor

@jakirkham jakirkham commented Apr 11, 2025

  • Add links for terms
  • Recommend getting Conda via Miniforge
  • Show Python, R & C++ examples
  • Provide CPU & CUDA install steps
  • Supply additional resources

Changes motivated by this discussion with Jiaming and Hyunsu: conda-forge/xgboost-feedstock#226 (comment)

* Add links for terms
* Recommend getting Conda via Miniforge
* Show Python, R & C++ examples
* Provide CPU & CUDA install steps
* Supply additional resources
@trivialfis
Copy link
Member

Thank you for following up on this!

Please ignore the CI errors for now. For some reason, it keeps getting canceled or not picking up a worker without restarting.

conda install -c conda-forge py-xgboost-cpu
# Use NVIDIA GPU
conda install -c conda-forge py-xgboost-gpu
conda install -n xgboost 'libxgboost=*=cpu*'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we replace or remove the -n xgboost argument? It might be clearer to use conda install -n my_environment or remove the use of this argument. The use of xgboost prompted me to verify that the -n specifies the name of an environment instead of the name of the package.

Target Environment Specification:
-n ENVIRONMENT, --name ENVIRONMENT
Name of environment.


.. code-block:: bash

conda install -c conda-forge py-xgboost
conda install py-xgboost
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to clarify what the package xgboost (without the language prefix) refers to? https://anaconda.org/conda-forge/xgboost

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jakirkham I can take over if you are busy with other work. ;-)

@trivialfis
Copy link
Member

Replaced by #11486

@trivialfis trivialfis closed this May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants