Closed mah007 closed 1 year ago
First try to follow the advice of @FlamingFury00 which has already solved the issue for many people.
if not working try to see this https://github.com/IntelligenzaArtificiale/Free-Auto-GPT/issues/72#issuecomment-1537224224
Hi, you solve simply with a:
pip3 install lark
It has to be added in requirements
after today update /home/mahmoud/Projects/gpt/venv/bin/python /home/mahmoud/Projects/gpt/AUTOGPT.py Traceback (most recent call last): File "/home/mahmoud/Projects/gpt/AUTOGPT.py", line 11, in
from langchain.experimental.autonomous_agents.autogpt.agent import AutoGPT
File "/home/mahmoud/Projects/gpt/venv/lib/python3.8/site-packages/langchain/experimental/init.py", line 3, in
from langchain.experimental.generative_agents.generative_agent import GenerativeAgent
File "/home/mahmoud/Projects/gpt/venv/lib/python3.8/site-packages/langchain/experimental/generative_agents/init.py", line 2, in
from langchain.experimental.generative_agents.generative_agent import GenerativeAgent
File "/home/mahmoud/Projects/gpt/venv/lib/python3.8/site-packages/langchain/experimental/generative_agents/generative_agent.py", line 9, in
from langchain.experimental.generative_agents.memory import GenerativeAgentMemory
File "/home/mahmoud/Projects/gpt/venv/lib/python3.8/site-packages/langchain/experimental/generative_agents/memory.py", line 8, in
from langchain.retrievers import TimeWeightedVectorStoreRetriever
File "/home/mahmoud/Projects/gpt/venv/lib/python3.8/site-packages/langchain/retrievers/init.py", line 9, in
from langchain.retrievers.self_query.base import SelfQueryRetriever
File "/home/mahmoud/Projects/gpt/venv/lib/python3.8/site-packages/langchain/retrievers/self_query/base.py", line 8, in
from langchain.chains.query_constructor.base import load_query_constructor_chain
File "/home/mahmoud/Projects/gpt/venv/lib/python3.8/site-packages/langchain/chains/query_constructor/base.py", line 14, in
from langchain.chains.query_constructor.parser import get_parser
File "/home/mahmoud/Projects/gpt/venv/lib/python3.8/site-packages/langchain/chains/query_constructor/parser.py", line 43, in
@v_args(inline=True)
NameError: name 'v_args' is not defined