码迷,mamicode.com
首页 > 编程语言 > 详细

Python将依赖包导出到requirements.txt文件

时间:2020-05-14 10:29:59      阅读:119      评论:0      收藏:0      [点我收藏+]

标签:依赖包   com   python   span   txt   nbsp   安装   nts   ima   

代码

# 查询环境中已经安装的库
pip list

# 将所有依赖库导出到 requirements.txt 文件
pip freeze > requirements.txt

技术图片

 

Python将依赖包导出到requirements.txt文件

标签:依赖包   com   python   span   txt   nbsp   安装   nts   ima   

原文地址:https://www.cnblogs.com/shiyixirui/p/12886817.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!