how to get requirements.txt in anconda environment code example
Example 1: conda create environment based on requirements.txt
pip freeze > requirements.txt
Example 2: output requirements conda
conda activate <env>
conda install pip
pip freeze > requirements.txt