AnswerDotAI / AnswerDotAI/RAGatouille

ModuleNotFoundError: No module named 'langchain.retrievers'

Open
#275 4 comments 9 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4k
Forks
276
PR merge metrics
No merged PRs in 30d

Description

I just tried to use RAGatouille but as soon as I `import ragatouille` I receive the following error:

```bash
ModuleNotFoundError: No module named 'langchain.retrievers'
```

The issue is that in the latest LangChain versions the `langchain.retrievers` module does not exist.
RAGatouille does not clearly specify which is the langchain version to use.
I'm using uv to manage my project and the latest langchain version is downloaded.

You should upgrade your imports.

Can you fix, please?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the `import ragatouille` failure with the latest LangChain version and inspect the package imports reached by that entry point. Done means the import works with the supported LangChain version, and the required version or compatibility guidance is clearly specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.