Answers for "how to make a pip requirements file"

40

pip install from requirements.txt

$ pip install -r requirements.txt
Posted by: Guest on May-10-2020
17

pip freeze requirements.txt

// capture requirements to install
pip freeze > requirements.txt

// install requirements from requirements.txt
pip install -r requirements.txt

// or
$ env1/bin/pip freeze > requirements.txt
$ env2/bin/pip install -r requirements.txt
Posted by: Guest on June-07-2020
8

how to generate requirements.txt django

For Unix families: pip3 freeze > requirements.txt
For Windos: pip freeze > requirements.txt
Posted by: Guest on May-02-2020

Code answers related to "how to make a pip requirements file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language