Environments and custom Anaconda installers

This page explains the custom environments and installers created by Administrators and Superusers for users.

Administrators and Superusers can create custom environments for your users to access. These environments include specific packages and their dependencies. You can give your users access to these environments by creating custom Anaconda installers.

Users can view only the list of environments available to them.

Viewing environments

To see a list of environments and custom Anaconda installers available to you, from the top navigation select the Packages menu, then click the far right Advanced link.

../../../_images/ae51-envs-advanced.png

Creating an environment

NOTE: See your Administrator if you need permissions to create new environments.

To start creating a new environment, click the top right New Environment button (+). This button is visible only to Superusers and above.

../../../_images/ae51-admin-create-env.png

Give your new environment a name by editing the title area - where it says “Untitled Environment” - and optionally edit the version number.

Put a check in the box of any channels that you wish to use in this environment. Once a channel is selected, you can choose from packages available in that channel.

Select packages at specific versions from the package list. To see package descriptions, click on the package name in the list.

../../../_images/ae51-admin-create-env-select-packages.png

TIP: Use the up and down arrows to set the priority order of the channels.

TIP: Use the sort icon next to the checkbox to move all the selected packages to the top of the list.

Click the Resolve & Save button to resolve dependencies and save the environment.

As the environment packages are being resolved, you will see a dialog with a spinner and some information about the status of the process.

../../../_images/ae51-admin-create-env-working-dialog.png

You can close this dialog if you prefer to wait for a notification. If you choose to close the dialog, you can view the environment detail:

../../../_images/ae51-admin-create-env-working.png

Note: If you return to the environments list you will see your new environment before it is fully saved. If you click on the name, you will also see the same detail view.

If there is an issue with the dependencies, the Resolve dialog will display the log.

../../../_images/ae51-admin-create-env-fail-dialog.png

If the dialog is closed, a notification provides a link to the relevant logs:

../../../_images/ae51-admin-create-env-fail-notification.png

To resolve the issue, review the log, then continue adding and removing packages from your environment before trying to Resolve and Save again.

Viewing an environment

After you have successfully created an environment, it will appear in your environments list:

../../../_images/ae51-admin-envs-installers-02.png

Click on the environment name to get to the environment detail view:

../../../_images/ae51-admin-env-detail-view-01.png

From this view, you can edit, copy or delete the environment and inspect details of the environment - such as differences between versions and resolved packages. You can also create custom Anaconda installers, custom Anaconda management packs and custom Anaconda parcels.

View resolved package list for an environment

From the environment detail view, you can see a list of resolved packages by clicking Show Resolved List under the list of packages.

../../../_images/ae51-admin-env-detail-view-02.png

View different versions of an environment

From the environment detail view, you can view different versions of your environment by clicking on the dropdown next to the version number:

../../../_images/ae51-admin-env-detail-view-03.png

NOTE: If there are no other versions of the environment, there will not be a dropdown.

Editing an environment

To edit an existing environment and save a new version of it, on the environment detail view, click the Edit button. While editing you must change the version number.

You can also change the channels and packages included in the environment.

To save the new version, click Resolve and Save.

../../../_images/ae51-admin-env-edit.png

After the new version has been saved, the new version will appear in your environments list:

../../../_images/ae51-admin-envs-installers-03.png

Copying an environment

To copy an environment, from the environment detail page, click the Gear icon and select Create Copy. When copying, you must choose a new name for the environment by typing in the “Untitled Environment” box. Environment names can contain alphanumeric characters and underscores only.

Choose a new version number by typing in the Version box. Select or unselect channels and packages that you wish to include.

../../../_images/ae51-admin-env-copy.png

Deleting an environment

To delete an environment, from the environment detail page click the Gear icon and select Delete environment spec. You will be asked to verify the name of the environment before deletion by typing in the environment name. You can also copy/paste the name. When you have entered the name correctly, the delete button turns red. NOTE: There is no “Are you sure?” dialog box.

../../../_images/ae51-admin-env-delete.png

Creating custom Anaconda installers

Administrators and Superusers can create custom Anaconda installers for your users to access.

To create a custom Anaconda installer, custom Anaconda management pack, or custom Anaconda parcel for your users, first create a new environment.

Then from the environment detail view, click the Create button and select the type of installer that you would like to create:

../../../_images/ae52-admin-env-create-installer.png

Clicking on one of these options will create the installer. This process may take several minutes. You can stay in the dialog box, or close it and wait for a notification.

After the installer has been created, the new installer will appear in the custom Anaconda installers list:

../../../_images/ae52-admin-envs-installers-04.png

You can use the More Actions icon (three vertical dots) to delete the installer or view the relevant logs:

../../../_images/ae52-admin-envs-installers-05.png

Viewing Builds & Logs

You can view the logs from building environments and custom Anaconda installers from the Builds & Logs link at the top right of the custom Anaconda installers list.

This link will give you access to running jobs (and the ability to terminate them), as well as failed and successful job runs.

../../../_images/ae51-admin-envs-installers-06.png