Conda

Create an Environment

To create a new environment in Conda, execute the following line:

$conda create --name <environment name>

Addind the -f flag and a filename will create the environment from a yml file.

$conda create --name <environment name> -f <environment file>.yml

Adding the name of a package to the end of the creation line will install that package on the new environment:

$conda create --name <environment name> tensorflow=2.0.0

Activate an Environment

To activate an environment use:

$conda activate <environment name>

To list the available environments:

$conda env list