You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Auto-GPT依赖agent-protocol安装失败 寻求技术帮助

解决Auto-GPT稳定版依赖agent-protocol安装失败问题

问题分析

  1. 执行pip install agent-protocol失败,提示无匹配版本:该包暂未发布到PyPI,无法通过标准pip源安装。
  2. 尝试pip install git+https://github.com/AI-Engineers-Foundation/agent-protocol/tree/main/sdk/python失败:使用的是GitHub网页的tree路径,并非有效的Git克隆URL,导致Git无法识别仓库地址。

解决方案

方法一:使用正确的Git仓库URL+子目录参数安装

执行以下命令(通过#subdirectory指定Python SDK所在的子目录):

pip install git+https://github.com/AI-Engineers-Foundation/agent-protocol.git#subdirectory=sdk/python

方法二:手动克隆仓库后本地安装

  1. 克隆仓库到本地:
git clone https://github.com/AI-Engineers-Foundation/agent-protocol.git
  1. 进入Python SDK目录:
cd agent-protocol/sdk/python
  1. 本地安装包:
pip install .

额外检查项

  • 确保系统已安装Git,可通过git --version验证。
  • 检查网络连接,确保能正常访问GitHub仓库。

内容的提问来源于stack exchange,提问作者Ayushya Verma

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.11 03:23:17