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.43k stars 382 forks source link

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

Open Newaiguy opened 11 months ago

Newaiguy commented 11 months ago
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 - [x] Example - [ ] Example2

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

What version of Python do you have?

What version of operating system do you have?

What type of installation did you perform?

Desktop (please complete the following information):

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 commented 11 months ago

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 commented 11 months ago

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

AnonDevSUS commented 10 months ago

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"