Conda - Channel

Card Puncher Data Processing

About

A package repository is called a channel in Conda.

This is a store for conda package.

Conda packages are downloaded from remote channels, which are URLs to directories containing conda packages.

The conda command searches a default set of channels. You can modify what remote channels are automatically searched. You might want to do this to maintain a private or internal channel.

Configuration

Create

See https://conda.io/docs/user-guide/tasks/create-custom-channels.html

List

conda config --show
custom_channels:
  pkgs/main: https://repo.anaconda.com
  pkgs/free: https://repo.anaconda.com
  pkgs/r: https://repo.anaconda.com
  pkgs/pro: https://repo.anaconda.com
  usr/local/conda-bld: file://
default_channels:
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/free
  - https://repo.anaconda.com/pkgs/r
  - https://repo.anaconda.com/pkgs/pro

Set

The list of channel can be configured in .condarc

channels:
  - <anaconda_dot_org_username>
  - http://some.custom/channel
  - file:///some/local/directory
  - defaults

where:

  • defaults is the default and automatically include all default channels.
  • Non-URL channels are interpreted as:

Show

Show channel URLs when:

  • displaying what is going to be downloaded
  • and in conda list
show_channel_urls: True

Allow other channel

Doc

allow_other_channels: False

Where:

  • allow_other_channels: True or not specified, allow each user to access:
    • the default channels
    • and any channels that the user specifies in their local .condarc file

Default

Packages are automatically downloaded and updated from http://repo.continuum.io/pkgs/.

The defaults channel points to several channels at the repo.continuum.io repository but you can override them with the default_channels properties.

default_channels:
  - <anaconda_dot_org_username>
  - http://some.custom/channel
  - file:///some/local/directory

With the config command.

conda config --show
default_channels:
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/free
  - https://repo.anaconda.com/pkgs/r
  - https://repo.anaconda.com/pkgs/pro

Documentation / Reference





Discover More
Card Puncher Data Processing
Anaconda.org (Anaconda Cloud)

Anaconda.org is a repository ( ?) of package The user name is referred to as the Anaconda Cloud channel How to upload a package build tar...
Card Puncher Data Processing
Conda - Configuration (.condarc)

The configuration of conda is in a file called .condarc In the user home in the root of an environment Via conda Via file ../../commands/conda-config With the config subcommand...
Card Puncher Data Processing
Conda - Install a PyPi Package

How to install a PyPi distribution package in the conda repository. The skeleton command get the PyPI package metadata and create the . Check that the skeleton file was created in the...
Card Puncher Data Processing
Conda - Package

in the context of the conda application Conda packages are downloaded from remote channels, which are URLs to directories containing conda packages. The conda command searches a default set of channels,...
Card Puncher Data Processing
Conda - Repository

See



Share this page:
Follow us:
Task Runner