运行python -m autogpt直接报错
ayingk opened this issue · comments
⚠️ Search for existing issues first ⚠️
- I have searched the existing issues, and there is no existing issue for my problem
GPT-3 or GPT-4
- I am using Auto-GPT with GPT-3 (GPT-3.5)
Steps to reproduce 🕹
Traceback (most recent call last):
File "D:\java\python3\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "D:\java\python3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\java\Auto-GPT-ZH-main\autogpt_main.py", line 4, in
from autogpt.agent.agent import Agent
File "D:\java\Auto-GPT-ZH-main\autogpt\agent_init.py", line 1, in
from autogpt.agent.agent import Agent
File "D:\java\Auto-GPT-ZH-main\autogpt\agent\agent.py", line 2, in
from autogpt.app import execute_command, get_command
File "D:\java\Auto-GPT-ZH-main\autogpt\app.py", line 12, in
from autogpt.commands.web_requests import scrape_links, scrape_text
File "D:\java\Auto-GPT-ZH-main\autogpt\commands\web_requests.py", line 12, in
from autogpt.memory import get_memory
File "D:\java\Auto-GPT-ZH-main\autogpt\memory_init_.py", line 9, in
from autogpt.memory.redismem import RedisMemory
File "D:\java\Auto-GPT-ZH-main\autogpt\memory\redismem.py", line 9, in
from redis.commands.search.field import TextField, VectorField
File "D:\java\python3\lib\site-packages\redis\commands\search_init_.py", line 3, in
from ...asyncio.client import Pipeline as AsyncioPipeline
File "D:\java\python3\lib\site-packages\redis\asyncio_init_.py", line 1, in
from redis.asyncio.client import Redis, StrictRedis
File "D:\java\python3\lib\site-packages\redis\asyncio\client.py", line 646, in
class PubSub:
File "D:\java\python3\lib\site-packages\redis\asyncio\client.py", line 713, in PubSub
def close(self) -> Awaitable[NoReturn]:
File "D:\java\python3\lib\typing.py", line 251, in inner
return func(*args, **kwds)
File "D:\java\python3\lib\typing.py", line 626, in getitem
params = tuple(_type_check(p, msg) for p in params)
File "D:\java\python3\lib\typing.py", line 626, in
params = tuple(_type_check(p, msg) for p in params)
File "D:\java\python3\lib\typing.py", line 135, in _type_check
raise TypeError(f"Plain {arg} is not valid as type argument")
TypeError: Plain typing.NoReturn is not valid as type argument
Current behavior 😯
No response
Expected behavior 🤔
无法正常运行
Your prompt 📝
# Paste your prompt here
更新版本