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

ModuleNotFoundError: No module named 'langchain.experimental' #155

Open
4 of 15 tasks
Newaiguy opened this issue Jul 30, 2023 · 3 comments
Open
4 of 15 tasks

ModuleNotFoundError: No module named 'langchain.experimental' #155

Newaiguy opened this issue Jul 30, 2023 · 3 comments

Comments

@Newaiguy
Copy link

Newaiguy commented Jul 30, 2023

python AUTOGPT.py Traceback (most recent call last): File "D:\chatgpt\Free-Auto-GPT\AUTOGPT.py", line 11, in from langchain.experimental.autonomous_agents.autogpt.agent import AutoGPT ModuleNotFoundError: No module named 'langchain.experimental' ⚠️INSTRUCTIONS:
  • Enter ONE "x" inside the brackets [x] to choose the answer
  • Example
  • Example2

Have you already searched for your ISSUE among the resolved ones?

  • Yes, new issue
  • Yes, but the solution not work for me
  • No

What version of Python do you have?

  • Last, Python > 3.11
  • Python >= 3.8
  • PIs you have Python<3.8 pease install last version of python

What version of operating system do you have?

  • Windows
  • Linux/Ububtu
  • Mac/OSX

What type of installation did you perform?

  • pip3 install -r requirements.txt
  • python3 -m pip install -r requirements.txt
  • Anaconda
  • Container on VS

Desktop (please complete the following information):

  • Browser [e.g. chrome] :
  • Version [e.g. 112] :

Describe the bug
A clear and concise description of what the bug is.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@Newaiguy
Copy link
Author

python AUTOGPT.py
Traceback (most recent call last):
File "D:\chatgpt\Free-Auto-GPT\AUTOGPT.py", line 11, in
from langchain.experimental.autonomous_agents.autogpt.agent import AutoGPT
ModuleNotFoundError: No module named 'langchain.experimental'

@BenoitAnastay
Copy link

It was replaced by
from langchain_experimental.autonomous_agents import AutoGPT just run pip install langchain_experimental and rename module

@AnonDevSUS
Copy link

To fix "langchain and EdgeGPT", use these commands

pip uninstall langchain
pip install "langchain<=0.0.187"

pip uninstall EdgeGPT
pip install "EdgeGPT<=0.6.10"

@Toaster496 Toaster496 mentioned this issue Aug 18, 2023
15 tasks
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

3 participants