Closed dijikul closed 1 year ago
Try to run on cmd pip3 install -U langchain
and retry.
I'm getting a similar, if not the same, error.
have you installed the lastes version of python 3.11 ?
Pls try to install python3.11
python3.11 -m install -r requirements.txt
python3.11 AUTOGPT.py
I am already running Python 3.11, and I tried the above suggestion also.
Hey guys, I'm having the same issue on the Colab notebook actually!
NameError: name 'v_args' is not defined. Did you mean: 'vars'?
in my windows i have python 3.11 but in container with wsl i have 3.10.11 but its saying already updated to latest
We are working to figure out what the problem might be.
In this issue https://github.com/IntelligenzaArtificiale/Free-AUTO-GPT-with-NO-API/issues/76#issue-1698663356 the problem seemed to be just python3.10 .
is not working even with python3.11 in wsl2 windows
tariq@laptop:~/work/Free-AUTO-GPT-with-NO-API$ python3.11 AUTOGPT.py
Traceback (most recent call last):
File "/home/tariq/work/Free-AUTO-GPT-with-NO-API/AUTOGPT.py", line 8, in <module>
from langchain.experimental.autonomous_agents.autogpt.agent import AutoGPT
File "/home/tariq/.local/lib/python3.11/site-packages/langchain/experimental/__init__.py", line 3, in <module>
from langchain.experimental.generative_agents.generative_agent import GenerativeAgent
File "/home/tariq/.local/lib/python3.11/site-packages/langchain/experimental/generative_agents/__init__.py", line 2, in <module>
from langchain.experimental.generative_agents.generative_agent import GenerativeAgent
File "/home/tariq/.local/lib/python3.11/site-packages/langchain/experimental/generative_agents/generative_agent.py", line 9, in <module>
from langchain.experimental.generative_agents.memory import GenerativeAgentMemory
File "/home/tariq/.local/lib/python3.11/site-packages/langchain/experimental/generative_agents/memory.py", line 8, in <module>
from langchain.retrievers import TimeWeightedVectorStoreRetriever
File "/home/tariq/.local/lib/python3.11/site-packages/langchain/retrievers/__init__.py", line 9, in <module>
from langchain.retrievers.self_query.base import SelfQueryRetriever
File "/home/tariq/.local/lib/python3.11/site-packages/langchain/retrievers/self_query/base.py", line 8, in <module>
from langchain.chains.query_constructor.base import load_query_constructor_chain
File "/home/tariq/.local/lib/python3.11/site-packages/langchain/chains/query_constructor/base.py", line 14, in <module>
from langchain.chains.query_constructor.parser import get_parser
File "/home/tariq/.local/lib/python3.11/site-packages/langchain/chains/query_constructor/parser.py", line 43, in <module>
@v_args(inline=True)
^^^^^^
NameError: name 'v_args' is not defined. Did you mean: 'vars'?
i also try this no luck
python3.11 -m pip install -r requirements.txt
python3.11 AUTOGPT.py
try pip3.11 install lark-parser
BabyAgi stopped working for me, than i did pip install langchain==0.0.161 than it works again :)
try
pip3.11 install lark-parser
This resolved my issue. Thank you!
I am attempting to run AUTOGPT.py on Windows 10 using the FAST INSTALL local using Dev Container in VSCode by @FlamingFury00🚀method.
After everything installs, my
.env
file is configured and I attempt to run AUTOGPT.py in debugging mode, this error occurs:The configured
.env
file includes aCHATGPT_TOKEN
, aCHAT_ID
and aHUGGINGFACE_TOKEN
.