

The API mostly mirrors that of the conda packĬommandline.This command accepts a list of package specifications (e.g, bitarray=0.8)Īnd installs a set of packages consistent with those specifications andĬompatible with the underlying environment. # Deactivate the environment to remove it from your path (my_env ) $ source my_env/bin/deactivateĬonda-pack also provides a Python API, the full documentation of which canīe found here. # At this point the environment is exactly as if you installed it here # using conda directly. # Note that this command can also be run without activating the environment # as long as some version of python is already installed on the machine.

# Cleanup prefixes from in the active environment. # Run python from in the environment (my_env ) $ python Most python # libraries will work fine, but things that require prefix cleanups # will fail. # Use python without activating or fixing the prefixes. # Unpack environment into directory `my_env` It’s recommended to install in your root conda environment - the conda packĬommand will then be available in all sub-environments as well. It has been tested on a live cluster, but differentĬluster configurations may produce different results. Way to do this is to specify your environment as a environment.yml,Īnd recreate the environment when needed.īETA: Packaging a conda environment as a standard Cloudera parcel. One way to doĪrchiving an environment in a functioning state. Packaging a conda environment for deployment on Apache YARN. Packaging a conda environment for use with Apache Spark when deploying on Bundling an application with its environment for deployment
