pip导出 requirements.txt
pipreqs
pip install pipreqs
在python项目的根目录下 使用 pipreqs ./
pipreqs ./ --encoding=utf8
INFO: Successfully saved requirements file in ./requirements.txt
pip install pipreqs
在python项目的根目录下 使用 pipreqs ./
pipreqs ./ --encoding=utf8
INFO: Successfully saved requirements file in ./requirements.txt