writing requirements.txt conda code example Example: create requirements.txt conda pip freeze > requirements.txt # OR conda list -e > requirements.txt