python 批量导出与安装模块

51 阅读1分钟
生成模块依赖文件:

pip freeze > requirements.txt

批量安装模块: requirements.txt是生成的包文件

pip install -r requirements.txt