conda list -e > requirements.txt code example
Example 1: conda install requirements.txt example
conda install --file requirements.txt
Example 2: conda create environment based on requirements.txt
pip freeze > requirements.txt
conda install --file requirements.txt
pip freeze > requirements.txt