IntelligenzaArtificiale / Free-Auto-GPT

Free Auto GPT with NO paids API is a repository that offers a simple version of Auto GPT, an autonomous AI agent capable of performing tasks independently. Unlike other versions, our implementation does not rely on any paid OpenAI API, making it accessible to anyone.
MIT License
2.44k stars 384 forks source link

Error AutoGPT #17

Closed MMM1706 closed 1 year ago

MMM1706 commented 1 year ago

BabyAGI works but AutoGPT doesn't:

C:\Users\ASUS\Desktop\MENA\AutoGPT\Free Auto GPT\Free-AUTO-GPT-with-NO-API>python AutoGPT.py --hf_token *** --chatgpt_token ** Traceback (most recent call last): File "C:\Users\ASUS\Desktop\MENA\AutoGPT\Free Auto GPT\Free-AUTO-GPT-with-NO-API\AutoGPT.py", line 116, in from langchain.tools import BaseTool, DuckDuckGoSearchRun ImportError: cannot import name 'DuckDuckGoSearchRun' from 'langchain.tools' (C:\Users\ASUS\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\langchain\tools__init__.py)

IntelligenzaArtificiale commented 1 year ago

try to copy and execute this line before run python AUTOGPT.py ; digit on CMD : pip install duckduckgo-search or run pip install -U langchain

MMM1706 commented 1 year ago

Worked, thank you very much