conda install

Note

CatBoost Python package supports only CPython Python implementation.

Note

All Conda packages for Windows have CUDA support.
Conda packages for Linux contain variants with or without CUDA support.

All necessary CUDA libraries are statically linked in the released Linux and Windows binaries, the only installation necessary is the appropriate version of the CUDA driver.

To install CatBoost from the conda-forge channel:

  1. Add conda-forge to your channels:

    conda config --add channels conda-forge
    
  2. Install CatBoost:

    conda install catboost
    
  3. Install visualization tools:

    1. Install the ipywidgets Python package (version 7.x or higher is required):

    pip install ipywidgets
    
    1. Turn on the widgets extension:

    jupyter nbextension enable --py widgetsnbextension
    

    Refer to the following sections for details:

  4. User-defined functions:

    If you want to use custom metrics or objectives implemented in your own python code you should install numba package to speed up the code execution using JIT compilation.

    If you want to use custom metrics or objectives on GPUs with CUDA support you must install numba package for JIT compilation of CUDA code.
    Installation of numba-cuda package is also encouraged.
    CUDA itself (not only drivers) must be installed on machines where this code is executed.
    See numba CUDA support documentation for more details.

    These packages are not listed in package requirements that are installed automatically because they are not needed for other functionality.