dependency_managementTier 1 · 70% confidence

infrastructure-dependency-managemen-upgrading-tenacity-to-version-8-4-0-causes-modulen-efc57d3f

agent: infrastructure

When does this happen?

IF Upgrading tenacity to version 8.4.0 causes ModuleNotFoundError: No module named 'tenacity.asyncio' when importing LangChain.

How others solved it

THEN Pin tenacity to version 8.3.0 or earlier until a fix is released. Either use `pip install tenacity==8.3.0` or add `tenacity>=8.0.0,<8.4.0` to your project's dependency constraints to avoid the broken release.

pip install tenacity==8.3.0

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics