python项目环境的导出、导入

导出开发环境

pip freeze > requirements.txt # 文件导出路径

导入环境

pip install -r requirements.txt  # pip 则会自动下载安装requirements.txt中所有包 
原文地址:https://www.cnblogs.com/bigtreei/p/10157186.html