Read further to know the most common configurations for these environments.
A list of channels is searched in order to find and install a package. goes through the list from top to bottom, looking for a particular package to get the correct version, and then installs it from the first channel where it finds the package.
configuration file, is an optional runtime configuration file which allows you to configure various aspects of , such as channels it searches for packages, proxy settings, environment directories, etc. In an Enterprise installation of Anaconda or an installation paired with Anaconda Repository, you will need more control over .
Different formats are used for channels:
- anaconda.org channel anaconda, https://conda.anaconda.org/anaconda and https://repo.continuum.io/. : The default for the
NOTE: The behavior for a local URL can be changed. See the Default channel Alias section below. : specify the such as or . By default interprets these as and respectively.
- : Specify the entire URL of the channel such as or your own Repository channel .
- : Use a mounted network drive and specify the path by prepending with .
If you want to specify a proxy server to connect through, it can be added to the section. You can whitelist the default channels, and with your network administrators.
Your Enterprise may not want to update to the newest version each time you install a new package or update an existing package. Automatic updating could potentially introduce changes or dependencies that can conflict with your setup.
You can disable automatic updating by adding the following entry to your file:
Default Channel Alias
If you have Anaconda Repository, you will most likely want to set your Repository URLs to the default channels. As stated in the Channels section above, automatically prepends a URL to a user/channel name. By default this is , which can be changed to your Repository URL.
This will make the channel for testuser, automatically. Also it allows to install from your Repository by just adding the channel name in the file or by specifying a channel in the command:
conda install -c testuser testpackage
Default Package Cache Directory
You can customize the location of package's caches. By default this is where anaconda is installed such as . This can be changed by specifying the path in the option:
Default Environment Directory
You can customize where stores newly created environments. By default this is where anaconda is installed, such as . This can be changed by specifying the path in the option:
See the configuration changes used by conda with .