Check out example codes for "install requirements.txt in pip command". It will help you in understanding the concepts better.

Code Example 1

$ pip install -r requirements.txt

Code Example 2

$ pip3 install -r requirements.txt ---> For linux

Code Example 3

note: yor should be on the same dir as requirements.txt file 

pip install -r requirements.txt

Learn ReactJs, React Native from akashmittal.com