conda env install from yml code example
Example 1: conda create env from yml
conda env create -f environment.yml
Example 2: conda create environment based on requirements.txt
pip freeze > requirements.txt
conda env create -f environment.yml
pip freeze > requirements.txt