Files
dsProject/dsLightRag/Doc/2、Pip维护.txt
2025-08-14 15:45:08 +08:00

19 lines
499 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 激活虚拟环境
conda activate rag
# 永久修改pip源为阿里云镜像源适用于Windows系统
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
# 验证是否修改成功
pip config list
global.index-url='https://mirrors.aliyun.com/pypi/simple/'
# 获取依赖了哪些包
pip freeze > requirements.txt
# 新机器安装包
pip install -r D:\dsWork\dsProject\dsRag\requirements.txt
# 更新指定的包
pip install --upgrade lightrag-hku