AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

The version of Python needs to be higher than 3.8

Open heouchen opened this issue 1 year ago • 4 comments

Duplicates

  • [X] I have searched the existing issues

Steps to reproduce 🕹

python version:3.8.8 python -m autogpt

Current behavior 😯

(base) D:\auto-gpt>python -m autogpt Traceback (most recent call last): File "E:\software\anaconda\lib\runpy.py", line 194, in _run_module_as_main return run_code(code, main_globals, None, File "E:\software\anaconda\lib\runpy.py", line 87, in run_code exec(code, run_globals) File "D:\auto-gpt\autogpt_main.py", line 3, in from autogpt.agent.agent import Agent File "D:\auto-gpt\autogpt\agent_init.py", line 1, in from autogpt.agent.agent import Agent File "D:\auto-gpt\autogpt\agent\agent.py", line 2, in from autogpt.app import execute_command, get_command File "D:\auto-gpt\autogpt\app.py", line 4, in from autogpt.agent.agent_manager import AgentManager File "D:\auto-gpt\autogpt\agent\agent_manager.py", line 7, in class AgentManager(metaclass=Singleton): File "D:\auto-gpt\autogpt\agent\agent_manager.py", line 17, in AgentManager def create_agent(self, task: str, prompt: str, model: str) -> tuple[int, str]: TypeError: 'type' object is not subscriptable

Expected behavior 🤔

work

Your prompt 📝

# Paste your prompt here

updata the readme

heouchen avatar Apr 15 '23 14:04 heouchen

same problem here

nachobuey avatar Apr 15 '23 14:04 nachobuey

use python 3.10.10

heouchen avatar Apr 15 '23 14:04 heouchen

use python 3.9

Lks7 avatar Apr 15 '23 14:04 Lks7

Python 3.10.7 works for me

emp3826 avatar Apr 15 '23 17:04 emp3826