Manage conda channels

In the Conda Management panel, a DSX administrator can add or remove custom channels that DSX Local users can pull packages from. Alternatively, an administrator on the DSX Local cluster machine can add or remove channels manually with the /user-home/_global_/config/conda/.condarc file.

A DSX administrator can add a custom channel that DSX Local users can pull packages from by completing the following steps:

  1. In the Admin Console, click the menu icon ( Menu icon) and click Conda management. The Conda Management window opens.
  2. In the Custom Conda Channel field, type in the new channel URL and click Add Channel.

    Conda Management

Set .condarc for all images on the DSX Local cluster

To ensure a common conda policy is enforced across the organization, an administrator on the DSX Local cluster machine can manually create a global .condarc file in the /user-home/_global_/config/conda/ directory to specify a common configuration for conda, including the channels that DSX Local users can pull packages from. If the file is present, all images using anaconda (including built in images and custom images) will use the .condarc file. For details, see Administering a multi-user conda installation.

Commonly, an administrator adds local repositories as custom channels for the data scientists to install packages from. In DSX Local, this can be achieved by adding the channel URL to the channels setting in the global .condarc file. If the administrator does not want DSX Locals to use the default channels and conda-forge, they can be removed from the .condarc file.

The administrator can also use the conda config command in either a Jupyter notebook or a terminal to modify the global .condarc file. The –file /user-home/_global_/config/conda/.condarc option should be used to make sure the correct .condarc file is updated.

Note that the global .condarc file will affect the behaviors of conda installations in custom images created in the current release, and not in a previous release.

Learn more