如何自动生成和安装requirements.txt依赖

 

 

生成requirements.txt文件
pip freeze > requirements.txt

安装requirements.txt依赖
pip install -r requirements.txt

 

 

参考:
https://www.cnblogs.com/zelos/p/7439599.html
https://blog.csdn.net/qq_37925422/article/details/79646462

posted @ 2019-08-21 16:02  anobscureretreat  阅读(298)  评论(0编辑  收藏  举报