One - One Code All

Blog Content

pip requirements导出当前项目所用的包list列表

Python   2007-11-12 23:20:10

1、导出当前项目pip安装的包表

pip freeze > 项目目录/requirements.txt

2、根据导出的pip安装包表安装pip包

pip install -r 项目目录/requirements.txt



上一篇:python设置国内pip源,国内镜像快
下一篇:python查看包安装路径

The minute you think of giving up, think of the reason why you held on so long.