导出安装的库到requirements.txt pip freeze > requirements.txt 导入requirements.txt中列出的库到系统 pip install -r requirements.txt