0
点赞
收藏
分享

微信扫一扫

Python项目如何自动生成requirements.txt?

1. 下载pipreqs package

pip install pipreqs

2. 输入需要生成requirements.txt的项目路径(下面代码中我的项目文件夹为my_project)。

pipreqs --encoding=utf8 C:\Users\User\anaconda3\envs\my_project
举报

相关推荐

0 条评论