gpt4 book ai didi

python - 尝试为 autogpt 安装代理协议(protocol)

转载 作者:行者123 更新时间:2023-12-02 05:48:31 26 4
gpt4 key购买 nike

我一直在尝试运行在https://github.com/Significant-Gravitas/Auto-GPT/blob/stable/requirements.txt处犯规的requirements.txt文件。我无法安装代理协议(protocol)

(.venv) ayushyaverma@Ayushyas-MacBook-Pro Auto-GPT % pip install agent-protocol

ERROR: Could not find a version that satisfies the requirement agent-protocol (from versions: none)
ERROR: No matching distribution found for agent-protocol

我什至尝试使用存储库安装

(.venv) ayushyaverma@Ayushyas-MacBook-Pro Auto-GPT % pip install git+https://github.com/AI-Engineers-Foundation/agent-protocol/tree/main/sdk/python  
Collecting git+https://github.com/AI-Engineers-Foundation/agent-protocol/tree/main/sdk/python
Cloning https://github.com/AI-Engineers-Foundation/agent-protocol/tree/main/sdk/python to /private/var/folders/1b/8pjfld0j6jn_spvg3s0tzdz80000gn/T/pip-req-build-ane50soj
Running command git clone --filter=blob:none --quiet https://github.com/AI-Engineers-Foundation/agent-protocol/tree/main/sdk/python /private/var/folders/1b/8pjfld0j6jn_spvg3s0tzdz80000gn/T/pip-req-build-ane50soj
fatal: repository 'https://github.com/AI-Engineers-Foundation/agent-protocol/tree/main/sdk/python/' not found
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet https://github.com/AI-Engineers-Foundation/agent-protocol/tree/main/sdk/python /private/var/folders/1b/8pjfld0j6jn_spvg3s0tzdz80000gn/T/pip-req-build-ane50soj did not run successfully.
│ exit code: 128
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet https://github.com/AI-Engineers-Foundation/agent-protocol/tree/main/sdk/python /private/var/folders/1b/8pjfld0j6jn_spvg3s0tzdz80000gn/T/pip-req-build-ane50soj did not run successfully.
│ exit code: 128
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

这是github上agent-prtocol的页面 https://agentprotocol.ai/clients/python

请帮忙

我尝试运行以满足要求,并期望它会安装它

最佳答案

我在运行 pip install for auto-gpt 时也遇到了同样的问题。 error screenshot

修复步骤 ->

  1. 转到https://github.com/AI-Engineers-Foundation/agent-protocol克隆存储库
  2. 转到路径/agent-protocol/sdk/python
  3. 运行pip install。pip3 install。

这解决了我的问题。 after above steps output of pip install -r requirements.txt

PS:- 我建议使用 docker 来简化和轻松设置。您只需要运行几个命令就可以了。

引用 -> link to docker setup

关于python - 尝试为 autogpt 安装代理协议(protocol),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/77118061/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com