generate requirements.txt from imports code example
Example: python generate requirements.txt
# First:
pip install pipreqs
# Then:
pipreqs path/to/project
# There is now a requirements.txt file in the project folder.
# First:
pip install pipreqs
# Then:
pipreqs path/to/project
# There is now a requirements.txt file in the project folder.