惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
WordPress大学
WordPress大学
云风的 BLOG
云风的 BLOG
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
腾讯CDC
V
V2EX
Martin Fowler
Martin Fowler
A
About on SuperTechFans
大猫的无限游戏
大猫的无限游戏
Blog — PlanetScale
Blog — PlanetScale
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
酷 壳 – CoolShell
酷 壳 – CoolShell
C
Check Point Blog
博客园 - 【当耐特】
Cisco Talos Blog
Cisco Talos Blog
The Hacker News
The Hacker News
K
Kaspersky official blog
Security Latest
Security Latest
H
Help Net Security
博客园_首页
美团技术团队
Spread Privacy
Spread Privacy
博客园 - 司徒正美
Hugging Face - Blog
Hugging Face - Blog
S
SegmentFault 最新的问题
G
Google Developers Blog
NISL@THU
NISL@THU
爱范儿
爱范儿
I
Intezer
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
阮一峰的网络日志
阮一峰的网络日志
N
News and Events Feed by Topic
P
Privacy International News Feed
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Security @ Cisco Blogs
Schneier on Security
Schneier on Security
雷峰网
雷峰网
人人都是产品经理
人人都是产品经理
V
Vulnerabilities – Threatpost
W
WeLiveSecurity
P
Palo Alto Networks Blog
G
GRAHAM CLULEY
Hacker News: Ask HN
Hacker News: Ask HN
I
InfoQ
The Cloudflare Blog
F
Full Disclosure
SecWiki News
SecWiki News
宝玉的分享
宝玉的分享
N
Netflix TechBlog - Medium

博客园 - Yaopengfei

第五节:Claude Code的用法实操汇总 第十五节:LlamaIndex框架使用2() 第十四节:LlamaIndex框架介绍和入门1(基本用法、提示词、节点等) 第三节:Trae的基本使用 和 Skill的详细用法 第二节:Python基础2 第十三节:FastApi入门以及AI智能体案例落地实操 第二节:GitHub Copilot 用法(基于VSCode/VS、添加DeepSeek/千问等任意模型) 第一节:AI工具总览(Copilot、Cursor、Claude Code、OpenCode、Codex、Trae等) 第一节:Python基础1(数据类型、命名规范、输入输出、运算符、类型转换等) 第十节:预检索-索引优化(摘要、父子、假设问题、元数据、混合索引) 第十二节:MinerU处理复制PDF 和 综合性金融案例实战 第十一节:多检索查询、混合检索(多检索+RRF重排)、检索后优化(文档压缩) 第九节:RAG进阶和Advanced RAG简介 博文阅读密码验证 - 博客园 第七节:LangChain框架Chain链和Agent代理详解 第六节:LangChain框架Model和数据检索详解 第五节:LangChain框架简介和快速入门(模型、模板、解释器、向量、RAG、代理) 第三节:RAG基础(概念、工作流程、文档分块、向量和Embedding、RAG案例等等) 博文阅读密码验证 - 博客园 第一节:Python相关环境安装和配置(Python、PyCharm、Anaconda) 第三十六节:EFCore10.0新增功能和中断性变更 第七节:框架版本大升级(CoreMvc10.x + EFCore10.x) 第五十二节:Core10.0中OpenApi自定义文档(Swagger) 博文阅读密码验证 - 博客园 第三节:C#13、C#14新语法(数字字符串比较、Null分配、扩展成员新写法等等) 第二节:如何理解Embedding以及基于内存库简单实操
第四节:补充pip相关指令大全
Yaopengfei · 2026-04-03 · via 博客园 - Yaopengfei

一. 大全

1 如何查找库

  如何查找这个库都有哪些版本 ,直接去 https://pypi.org/  

                                                   或者【pip index versions redis】

2 下载

(1) 默认官网下载:

 【pip install chromadb】                 [默认安装最新版本]

 【pip install chromadb==0.5.3】     [指定版本]

(2) 加速源下载:

清华:https://pypi.tuna.tsinghua.edu.cn/simple

阿里:https://mirrors.aliyun.com/pypi/simple/

例如:

【pip install chromadb -i https://pypi.tuna.tsinghua.edu.cn/simple】 

【pip install redis -i https://mirrors.aliyun.com/pypi/simple/】 

【pip install redis==7.4.0 -i https://mirrors.aliyun.com/pypi/simple/】 

PS:如果已经安装了,想强制升级或降级:

 【pip install --force-reinstall redis==4.6.0】

3 删除

【pip uninstall 包名】

4 升级包

【pip install --upgrade 包名】

【pip install -U 包名】    简写

5 查看

 查看已安装的包:    【pip list】

 查看某个包的详情:【pip show xxx】

 检查包是否冲突:   【pip check】

6 导出当前环境所有包(用于备份 / 分享)

   【pip freeze > requirements.txt】

7 从文件批量安装(别人给你项目时用)

  【pip install -r requirements.txt】

 8 pip自己

 查看pip的版本: 【pip --version】

 升级pip自己:   【pip install --upgrade pip】

9 全局配置镜像

 pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple


 pip config set global.index-url https://mirrors.aliyun.com/pypi/simple


 修改的文件:C:\Users\60464\AppData\Roaming\pip\pip.ini


 恢复官方下载地址:pip config unset global.index-url