- Run
pipreqs .
to generate arequirements.txt
on all the files in current folder.
- "Currently, there's no direct pipreqs command option to target a single Python file."
- Run
python3 install_requirements_txt.py
to install all the requiements listed onrequirements.txt
.