requirements.txt --upgrade code example Example: how to update requirements.txt pip freeze > requirements.txt