python项目导出依赖和安装依赖 2026/10/1 16:44:36 拓冰建站 浏览量 1.导出当前虚拟环境中的外部依赖pip freeze requirements.txt2.根据requirement.txt安装依赖pip install -r requirement.txt