Appearance
pip install pipreqs
复制 pipreqs /path/to/your_project
pipreqs 会分析你的项目代码,自动检测实际使用的包,并生成 requirements.txt 文件。