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