anaconda-auth
package is used to authenticate (log you in) to your Anaconda.com organization. It can be used to issue and set an Anaconda.com organization access token and automatically configures your .condarc
file to utilize Anaconda’s curated repository channels. For more information about the anaconda-auth
package, see anaconda-auth reference.
anaconda-auth
:
anaconda-auth
installed, it’s best practice to update to the latest version from time to time:conda-token
CLI method instead. If you’re unsure whether or not your organization uses a site token, speak with your organization administrator.anaconda-auth
installed by running the following command:
anaconda-auth
installed, see Installing anaconda-auth.
.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:
(base)
environment
Verifying Python in your (base) environment
(base)
by opening Anaconda Prompt (Terminal for macOS/Linux) and running the following command:(base)
environment that expand the functionality of conda.
Obtain the necessary plugins by installing the anaconda-env-manager
“metapackage” (which contains all of the plugins listed below). To install anaconda-env-manager
, run the following command:
Plugins provided by the anaconda-env-manager metapackage
anaconda-env-log
- Automatically logs the current state of an environment whenever a user performs a create
, install
, remove
, rename
, or update
action with conda (manual logging of existing environments is also supported).
anaconda-activate-check
- Provides checks that validate environments against administrator-defined security controls before activation and notifies users of warnings or access restrictions with guidance for resolution.
anaconda-audit
- Allows you to scan local environments to assess the security impact of actions like installing or updating packages, so you can proactively address potential issues without requiring administrator intervention. It also serves as a valuable tool for identifying issues when troubleshooting security concerns flagged by administrators.
anaconda-env-manager
, it is a good idea to keep it updated by running conda update anaconda-env-manager
periodically.anaconda-env-log
installed in the (base)
environment), newly created environments are logged to the registered organization.