Creating a Custom Conda Environment

You can create a custom conda environment from a conda compatible environment file (environment.yaml) using the odsc conda create command. By default, the create option also installs additional libraries to ensure that the conda environment is compatible with JupyterLab and the OCI services. The most important libraries that are added are oci, ipykernel, jupyterlab, nb_conda_kernels, and cx_oracle. You can overwrite this default behavior by adding the optional argument --empty, -e then no extra libraries are added to your conda environment.

Note

We strongly recommend that you do not use the --empty argument. Because the conda environment that you create may not be accessible as a kernel in JupyterLab.

You can create a conda environment from a conda compatible environment file with:

odsc conda create -n <name> -v <version> -f <environment.yaml> 

If you want to create the environment from an empty base, use the --empty optional argument:

odsc conda create -n <name> -v <version> -f <environment.yaml> --empty

Using the Anaconda Technology on OCI

Oracle is licensed to include packages from Anaconda and make these packages available to Oracle Cloud Infrastructure (OCI) customers. Pre-installed packages that are embedded in OCI products and services that you license from Oracle may be used under the terms of the applicable Oracle OCI license agreement or terms of service.

Oracle customers can use Oracle’s cloud-hosted products and services with a preinstalled copy of Conda to access additional packages from Anaconda’s repository. This access is under the Anaconda's Terms of Service, except that Oracle OCI customers may use the Anaconda packages for commercial purposes on the OCI platform without obtaining a separate paid license from Anaconda. The packages are only for use as part of our services, and do not entitle you to download them to your own infrastructure or to use Anaconda’s trademarks. Packages may have their own licenses provided by the package authors.

Create an account on Anaconda Nucleus and get started using Anaconda today.