install conda environment 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
# using pip
pip install -r requirements.txt
# using Conda
conda create --name <env_name> --file requirements.txt