自动保存python一个项目的需求文件

# 保存python3环境下安装的所有模块
$ pip3 freeze > requirements.txt

# 保存当前项目中所依赖的模块
$ pipreqs ./

依赖模块保存在:requirements.txt

posted @ 2019-01-31 14:34  Wualin  阅读(353)  评论(0编辑  收藏  举报