使用pip安装python模块时,使用requirments.txt文件进行一次安装多个模块 1.生成环境中的模块 1. pip install -r requirments.txt 2.生成requirments.txt文件 2. pip freeze > requirments.txt