pip install pipreqs
pipreqs /path/to/project
If you have multiple sub directories - one should view the comments on the stack exchange above.
2021-08-03
pip install pipreqs
pipreqs /path/to/project
If you have multiple sub directories - one should view the comments on the stack exchange above.