install conda environment from yml file code example
Example 1: conda create environment from file
conda env create -f environment.yml
Example 2: anaconda clone environment
conda create --name myclone --clone myenv
conda env create -f environment.yml
conda create --name myclone --clone myenv