autogpt安装

逻辑取反 / 2023-08-29 / 原文

1、Git

2、Python 3.10 or later

3、OpenAI API key

4、git clone https://github.com/Torantulino/Auto-GPT.git

将.env.template 重命名为 .env,并使用 OpenAI key  替换文件中相应值

pip install -r requirements.txt

如果安装报错在文件中需要git下载的几个包加代理

auto-gpt-plugin-template @ git+https://ghproxy.com/https://github.com/Significant-Gravitas/Auto-GPT-Plugin-Template@0.1.0

依赖安装完成后,运行/scripts/run.bat 或linux版本运行/scripts/run.sh

连接api.openai.com  出现ssl错误 在__init__.py 中加入环境变量

os.environ["http_proxy"] = "http://127.0.0.1:1080"
os.environ["https_proxy"] = "http://127.0.0.1:1080"

具体依据你的代理情况设置