pip freeze > requirements.txt # 查看依赖包,导入到requirements.txt pip install -r requirements.txt #安装requirements.txt中所有的包