Environments#

An environment is a folder or directory that contains a specific collection of conda packages and their dependencies.

Working in separate environments allows you to maintain and run packages without interference from other collections of packages. For example, you may use one conda environment to maintain a Python 3 project and use another environment for R language projects.

Uploading an environment file#

  1. Create your environment.yml file.

  2. Log in to your instance of Package Security Manager (On-prem).

  3. Open a channel from the Dashboard or from the My Channels page.

  4. Open the Manage dropdown menu and select Upload File.

  5. Open the Type dropdown menu and select Anaconda Environment.

  6. Click Select files… then locate and upload your environment file, or drag and drop the environment file into the field.

  7. Click Upload.

Downloading an environment file#

  1. From the channel details page, select the Environments tab.

  2. Select an environment, then click on an environment file to download it.

Viewing environment dependencies#

  1. From the channel details page, select the Environments tab.

  2. Click on an environment, then select the Dependencies tab to view the packages your environment depends on.

Viewing environment metadata#

  1. From the channel details page, select the Environments tab.

  2. Click on an environment.

  3. Click View more information beside the .yml file to view its metadata.

    You will be presented with the environment’s metadata.

Moving an environment file#

To move an environment file from one channel or subchannel to another:

  1. From the channel or subchannel details page, select the Environments tab.

  2. Select the checkbox beside the environment file you want to move. File management buttons appear at the top of the list.

  3. Click Move # Environments.

  4. Open the Move To: dropdown menu and select a destination channel for your environment file.

  5. Click Move.

Note

Moving an environment file will remove it from its origin channel.

Copying an environment file#

To copy an environment file from one channel or subchannel to another:

  1. From the channel or subchannel details page, select the Environments tab.

  2. Select the checkbox beside the environment file you want to copy. File management buttons appear at the top of the list.

  3. Click Copy # Environments.

  4. Open the Copy To: dropdown menu and select a destination channel for your environment file.

  5. Click Copy.

Note

Copying an environment file will not remove it from its origin channel.

Deleting an environment file#

To delete an environment file from a channel or subchannel:

  1. From the channel or subchannel details page, select the Environments tab.

  2. Select the checkbox beside the environment file you want to copy. File management buttons appear at the top of the list.

  3. Click Delete # environments.

  4. Click Delete to verify you want to delete your selected environment file.