Where do I put the requirements.txt file

Where does the pip install look for the requirements.txt file? The message I get is "Could not open requirements file: [Errno 2] No such file or directory: ‘requirements.txt’ "

It should be in your application “root” directory:

~/dev/m220$ ls -l
total 56
drwx------ 3 corsario corsario  4096 mar 14 16:32 data
drwx------ 5 corsario corsario  4096 mar 14 18:21 mflix
drwx------ 2 corsario corsario  4096 mar 14 16:32 migrations
drwx------ 3 corsario corsario  4096 mar 15 00:20 notebooks
-rw-r--r-- 1 corsario corsario 10947 feb 15 17:00 README.rst
-rw-r--r-- 1 corsario corsario   273 mar 14 17:29 requirements.txt
-rw-r--r-- 1 corsario corsario   379 mar 14 17:42 run.py
drwx------ 3 corsario corsario  4096 mar 14 18:25 tests

And you should run

pip install -r requirements.txt

in that directory