【python】python 环境

导出当前环境中所有包至requirement.txt

pip freeze >requirements.txt

根据requirement.txt安装所需依赖

pip install -r requirement.txt

pipreqs 可以通过扫描项目目录,生成当前项目的依赖清单

pip install pipreqs

pipreqs ./

本文作者:brucejiao

本文链接:https://www.cnblogs.com/brucejiao/p/16630568.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   brucejiao  阅读(37)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起
  1. 1 404 not found REOL
404 not found - REOL
00:00 / 00:00
An audio error has occurred.