1.下载包:pip install package 2.导出包列表:pip freeze > requirements.txt 3.按照包列表安装包:pip install -r requirement.txt