installing conda env with environment.yml code example
Example 1: conda create environment based on requirements.txt
pip freeze > requirements.txt
Example 2: conda activate env
conda activate myenv
pip freeze > requirements.txt
conda activate myenv