Create environment from a text file code example
Example 1: conda create environment based on requirements.txt
pip freeze > requirements.txt
Example 2: conda install from yaml
conda env update -n my_env --file ENV.yaml
pip freeze > requirements.txt
conda env update -n my_env --file ENV.yaml