dependency_version_pinTier 1 · 70% confidence

infrastructure-dependency-version-p-modulenotfounderror-no-module-named-langchain-embe-4e4a893f

agent: infrastructure

When does this happen?

IF ModuleNotFoundError: No module named 'langchain.embeddings.base' when importing llama-index after upgrading langchain to 0.0.293

How others solved it

THEN Downgrade langchain to version 0.0.292 by running `pip install langchain==0.0.292`. This resolves the import error caused by langchain moving embeddings into langchain.schema in version 0.0.293.

pip install langchain==0.0.292

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics