.condarc
file. Once you’re set up, you can start building conda environments for your projects using secure, approved software packages.
Installing anaconda-auth
anaconda-auth
is used to authenticate you (log you in) to your Anaconda.com organization at the command line. It can also be used to issue and set a new Anaconda.com organization access token, and can (optionally) configure your .condarc
file to use Anaconda’s curated repository channels by default.anaconda-auth
:
anaconda-auth
package, see anaconda-auth reference.Installing conda-token
conda-token
is used to set an organization access token that you have issued for yourself from your Anaconda.com organization or received from your organization administrator.conda-token
:
https://repo.anaconda.cloud/repo/anaconda-tools
is a public channel hosted and maintained by Anaconda that contains the conda-token
package.anaconda-auth
CLI method.conda-token
CLI method.anaconda-auth
automatically sets the token for you..condarc
file to use Anaconda’s curated repository channels at repo.anaconda.cloud
..condarc
file.condarc
file is a configuration file that tells conda where to look for packages. Here is an example of what your .condarc
file might look like:
channels:
list in your .condarc
file. If the requested package is not located in that channel, conda continues searching using the next entry in the channels:
list.
When conda reaches the defaults
entry in the channels:
list, it searches the channels listed under the default_channels:
list, in the same descending order. This is called “channel priority”, and it determines which source conda uses first when resolving packages.
In this example for Business tier, conda will look for a requested package in your organization’s channel first, then will look in the default channels in listed order, starting with https://repo.anaconda.cloud/repo/main
, then https://repo.anaconda.cloud/repo/r
, and finally, in https://repo.anaconda.cloud/repo/msys2
.
For Pro tier (legacy), conda will look in the default channels in listed order, starting with https://repo.anaconda.cloud/repo/main
, then https://repo.anaconda.cloud/repo/r
, and finally, in https://repo.anaconda.cloud/repo/msys2
.
For more information regarding the .condarc
file, see the official conda documentation.
.condarc
file.condarc
file in either Navigator or the CLI:
.condarc
file.condarc
file to tell conda where the channel is located.
Complete the following steps to add one of your organizations’ channels to your .condarc
file:
channels:
list, giving it top priority when conda is searching for packages. For more information about channel priority and additional conda config command arguments, see Channels.
.condarc
’s channels:
list.proxy_servers:
section in the .condarc
file that contains the URL to the proxy server. This entry must also contain a username and password for logging in to the proxy server. Speak with your IT Administrator if you do not have this information.
There are no commands to include this portion of the .condarc
file, so you need to manually include the following lines:
HTTP_PROXY
and HTTPS_PROXY
environment variables to utilize the proxy server. To export your environment variables, open a terminal and run the following commands: