0
点赞
收藏
分享

微信扫一扫

python生成当前目录下的项目依赖包

安装pipreqs

pip install pipreqs

打开项目根文件

python生成当前目录下的项目依赖包_依赖包

  • shif + 鼠标右键 + 在此处打开powershell窗口
  • 输入
pipreqs ./ --encoding=utf-8 --force

python生成当前目录下的项目依赖包_python_02
python生成当前目录下的项目依赖包_右键_03

效果展示

python生成当前目录下的项目依赖包_python_04
python生成当前目录下的项目依赖包_依赖包_05

在其他机器上安装依赖包

pip install -r requirements.txt


举报

相关推荐

0 条评论