how to create a conda environment using .yml file in linux code example
Example 1: conda create environment based on requirements.txt
# using pip
pip install -r requirements.txt
# using Conda
conda create --name <env_name> --file requirements.txt
Example 2: how to see all the environments in Conda
conda env list