使用pip命令查看所有python库

1.使用 pip freeze 命令将当前环境中所有已安装的库及其版本导出到一个文件中

pip freeze > requirements.txt


2.执行以下命令可以安装所有依赖:

pip install -r requirements.txt