导出: pip freeze > requirements.txt 安装: pip install -r requirements.txt 转载于:https://www.cnblogs.com/Python-XiaCaiP/p/10509297.html