export packages of conda environment requirements.txt code example
Example: output requirements conda
conda activate <env>
conda install pip
pip freeze > requirements.txt
conda activate <env>
conda install pip
pip freeze > requirements.txt