项目依赖库列表文件requirements.txt生成和使用 项目根目录下生成项目依赖列表文件: pip freeze > requirements.txt 使用requirements.txt安装依赖的方式: pip install -r requirements.txt