Search code snippets, questions, articles...

Install dependencies using pip from requirement.txt file in Python

pip install -r requirements.txt
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place.

The command can be used to install all dependencies which are required to run your python application. The dependencies must be in the requirement.txt file. To generate a requirement.txt file you can use below command

pip freeze > requirements.txt
Was this helpful?