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