Creating a Custom Conda Environment
Create a custom conda environments with a conda compatible environment file (environment.yaml) using the odsc conda create command.
By default, the create option also installs extra 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.
We strongly recommend that you don't use the --empty argument. Because the conda environment that you create might 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>
To create the environment from an empty base, use the --empty optional argument:
odsc conda create -n <name> -v <version> -f <environment.yaml> --empty