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

Fix (langchain and EdgeGPT versions) requirements.txt #159

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AnonDevSUS
Copy link

Fixed langchain and EdgeGPT versions to prevent this type of error:

from langchain.experimental.autonomous_agents.autogpt.agent import AutoGPT
ModuleNotFoundError: No module named 'langchain.experimental'

Fixed langchain and EdgeGPT versions to prevent this type of error:

from langchain.experimental.autonomous_agents.autogpt.agent import AutoGPT
ModuleNotFoundError: No module named 'langchain.experimental'
Copy link

@kornellewy kornellewy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

working

Copy link

@homerjunior homerjunior left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect

Copy link

@softwareengineer-imerjr softwareengineer-imerjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One step less that people must do to build it.

@randompersononinternet69

Still doesn't work, it's complaining about a missing duckduckgo-search package when it's installed.

Traceback (most recent call last):
  File "C:\Users\Name\Free-Auto-GPT\AUTOGPT.py", line 279, in <module>
    web_search = DuckDuckGoSearchRun()
                 ^^^^^^^^^^^^^^^^^^^^^
  File "pydantic\main.py", line 339, in pydantic.main.BaseModel.__init__
  File "pydantic\main.py", line 1064, in pydantic.main.validate_model
  File "pydantic\fields.py", line 437, in pydantic.fields.ModelField.get_default
  File "pydantic\main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for DuckDuckGoSearchAPIWrapper
__root__
  Could not import duckduckgo-search python package. Please install it with `pip install duckduckgo-search`. (type=value_error)

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

Successfully merging this pull request may close these issues.

5 participants