需求

python 当前环境依赖包导出到文件中

示例

cmd命令

pip freeze > require.txt

结果是在当前cmd路径中会有require.txt文件 其中会记录当前环境所含的包