Customizing environment definitions
As Admin or Editor of a project, you can change the name, the description, and the hardware configuration of an environment definition that you created. You cannot change the language of an existing environment definition.
If you created default environment definitions, you can add your own custom libraries or add additional packages, which were not included in the standard collection of pre-installed libaries and packages. You can change the software customization that you made, or delete it completely.
To update an environment definition you created:
- On the Environments page of your project, in the Active environment runtimes section, check that no runtime is active for the environment definition you want to change.
- In the Environment definitions section, click the environment definition you want to update.
For default environment definitions, you can create a customization and enter the packages you want to add to the standard libraries that are pre-installed for each environment. You can also upgrade or downgrade packages that are part of the standard software configuration. The libraries that are added to an environment definition through the customization aren’t persisted; however, they are pre-installed each time the environment runtime is started.
You must use the template to add libraries. There is a different template for Python and for R. The following example shows you how to add Python packages:
# Please add conda channels here channels: - defaults # Please add conda packages here dependencies: - spacy=2.0.9 # Please add pip packages here # To add pip packages, please comment out the next line - pip: - scikit-image==0.13.1
You cannot add arbitrary notebook extensions as a customization because notebook extensions must be preinstalled. The only notebook extensions which can be enabled are the Esri ArcGIS extension and its prerequisites. When you create a runtime environment definition with the Python 3.5 software configuration, you can select to enable Esri ArcGIS. Note that you can only use the preinstalled version.
- Apply your changes.