生成requirements.txt文件 pip freeze > requirements.txt image.png 安装requirements.txt 依赖包 pip install -r requirements.txt