conda extract requirements.txt code example Example: output requirements conda conda activate <env> conda install pip pip freeze > requirements.txt