python requires.txt code example Example 1: python requirements.txt pip install -r requirements.txt Example 2: requeriments.txt pip freeze > requirements.txt