Create Python Requirement file in better way
Gaurav kushwaha
Posted on October 30, 2022
- Install pipreqs python library
pip3 install pipreqs
- Run command in the project current directory for which requirements.txt required.
python -m pipreqs.pipreqs
š ## How better than pip freeze?
Pip freeze make requirements.txt of all python library install in your machine but not for the library which is used in particular projects.
š šŖ š
š©
Gaurav kushwaha
Posted on October 30, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.