Python exports all dependent packages used by the project (requirements.txt)

Python export dependency package (requirements.txt)

pip install pipreqs

Insert picture description here
It is also very simple to use the pipreqs path name, and the following error will appear when using it.
Insert picture description here
Solution: directly modify line 75 of pipreqs.py and change the encoding to utf-8
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/xulei1132562/article/details/113683897