generate requirements.txt conda code example
Example 1: conda install requirements.txt example
conda install --file requirements.txt
Example 2: create requirements.txt conda
pip freeze > requirements.txt
# OR
conda list -e > requirements.txt
Example 3: output requirements conda
conda activate <env>
conda install pip
pip freeze > requirements.txt