Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行python -m autogpt直接报错 #4

Closed
1 of 2 tasks
ayingk opened this issue Apr 19, 2023 · 1 comment
Closed
1 of 2 tasks

运行python -m autogpt直接报错 #4

ayingk opened this issue Apr 19, 2023 · 1 comment

Comments

@ayingk
Copy link

ayingk commented Apr 19, 2023

⚠️ 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
@kaqijiang
Copy link
Owner

更新版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants