看起来你遇到了网络连接问题ConnectionResetError清华镜像源有时会不太稳定。针对这种情况有几种解决方法1. 换一个国内镜像源推荐试试阿里云镜像源通常比较稳定pipinstalllangchain langchain-community dashscope chromadb-ihttps://mirrors.aliyun.com/pypi/simple/或者使用豆瓣源pipinstalllangchain langchain-community dashscope chromadb-ihttps://pypi.doubanio.com/simple/2. 添加超时和重试参数如果你仍想使用清华源可以增加超时时间和重试次数pipinstalllangchain langchain-community dashscope chromadb --default-timeout100--retries5-ihttps://pypi.tuna.tsinghua.edu.cn/simple3. 暂时绕过镜像源使用官方 PyPI但官方源在国外速度可能较慢可以试试pipinstalllangchain langchain-community dashscope chromadb4. 检查网络环境确保你的电脑没有开启 VPN 或代理冲突可以尝试关闭 VPN 或设置 pip 代理如果是公司网络可能有防火墙限制换用阿里云源通常能解决建议你先用阿里云镜像源方法1再试一次成功率较高。安装完成后可以运行pip list确认这四个包是否都在列表中。