python导出项目所有依赖库,在新环境中安装所有依赖库

# 导出项目的所有依赖库
pip3 freeze > requirements.txt

# 安装项目的所有依赖库
pip install -r requirements.txt
原文地址:https://www.cnblogs.com/hellozizi/p/11812522.html