把当前环境的依赖包导出为need.txt pip freeze > need.txt 有need.txt中保存了环境依赖包信息 把它导入到当前环境 pip install -r need.txt 原创作者: u_13137233 转载于: https://blog.51cto.com/u_13137233/11888767