Answers for "how to get requirements .txt"

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
10

install requirements.txt in pip command

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

pip install -r requirements.txt
Posted by: Guest on May-19-2020
1

how to get requirements .txt

pip freeze > requirements.txt
Posted by: Guest on September-09-2020

Browse Popular Code Answers by Language