python生成requirements.txt
1. 安装打包库
pip install pipreqs
2. 打包并打包文件指定位置
pipreqs ./
成功返回
INFO: Successfully saved requirements file in ./requirements.txt
懵懵懂懂迷迷糊糊
1. 安装打包库
pip install pipreqs
2. 打包并打包文件指定位置
pipreqs ./
成功返回
INFO: Successfully saved requirements file in ./requirements.txt