Answers for "how to create requirements.txt file in python"

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
-1

python generate requirements.txt

# First:
pip install pipreqs

# Then:
pipreqs path/to/project

# There is now a requirements.txt file in the project folder.
Posted by: Guest on February-10-2021
0

create requirements file and load it in new envirnment.

$ conda list -e > req.txt
$ conda create -n <environment-name> --file req.txt
Posted by: Guest on June-12-2021

Code answers related to "how to create requirements.txt file in python"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language