environment.yml code example
Example 1: conda create environment based on requirements.txt
# using pip
pip install -r requirements.txt
# using Conda
conda create --name --file requirements.txt
Example 2: conda env
conda create -n myenv python=3.6
Example 3: anaconda duplicate environment
conda create --name myclone --clone myenv
Example 4: conda update environment from yml
$ conda activate earth-analytics-python
$ conda env update -f environment.yml
Example 5: conda env
conda create --name myenv
Example 6: Creating an environment from an environment.yml file
conda env create -f environment.yml