平凡之路

Song's Blog

Home Archives
2025-07-10
Python

Python的依赖管理

Python 的依赖管理

1
pip freeze > requirements.txt

将本地所有包导入 txt 文件里

1
2
3
4
5
pip install pipreqs

pipreqs

pipreqs --force

自动识别代码中使用的模块

1
pip install -r requirements.txt

安装 txt 文件里的所有包

Teilen
  • Python 依赖管理
Neuer
Python生成加密随机数
Älter
git 常规使用

Kategorien

  • C
  • Docker
  • Golang
  • Linux
  • MySQL
  • Python
  • Python 模块
  • Vue
  • Zabbix
  • ansible
  • frontend
  • git
  • harbor
  • html
  • linux
  • nft
  • nginx
  • python
  • shell
  • vue
  • wails
  • 夜莺

Tags

  • C 语言数据类型
  • C乱码
  • Docker 用法
  • Docker安装
  • Go 基础
  • Go语言工程结构
  • HelloWorld起源
  • Linux
  • MySQL
  • Nginx
  • Python
  • Python random secrets
  • Python 依赖管理
  • Python元编程
  • Python双下划线
  • Python定义函数
  • ansible
  • docker镜像
  • git
  • html
  • json
  • json文件
  • nft
  • python
  • shell的静态分析工具
  • zabbix_agent
  • 下载
  • 优化方案
  • 创建FastAPI
  • 命令
  • 安全验证
  • 定时任务
  • 容器逃逸
  • 打包exe
  • 指针
  • 文件
  • 浮点数的计算
  • 爬虫
  • 磁盘检查
  • 脚本示例
  • 跨平台系统资源监控

Tag Cloud

C 语言数据类型 C乱码 Docker 用法 Docker安装 Go 基础 Go语言工程结构 HelloWorld起源 Linux MySQL Nginx Python Python random secrets Python 依赖管理 Python元编程 Python双下划线 Python定义函数 ansible docker镜像 git html json json文件 nft python shell的静态分析工具 zabbix_agent 下载 优化方案 创建FastAPI 命令 安全验证 定时任务 容器逃逸 打包exe 指针 文件 浮点数的计算 爬虫 磁盘检查 脚本示例 跨平台系统资源监控

Archiv

  • 九月 2025
  • 八月 2025
  • 七月 2025
  • 六月 2025
  • 五月 2025
  • 一月 2021

letzter Beitrag

  • (no title)
  • Hello World
  • (no title)
  • (no title)
  • (no title)
© 2025 Song
Powered by Hexo
Home Archives