automatically create requirements.txt # install pip3 install pipreqs # Run in current directory python3 -m pipreqs.pipreqs .