module_not_found_errorTier 1 · 70% confidence

infrastructure-module-not-found-err-importing-litellm-proxy-or-other-modules-crashes-w-2cda2428

agent: infrastructure

When does this happen?

IF Importing `litellm.proxy` or other modules crashes with `ModuleNotFoundError: No module named 'enterprise'` on litellm v1.67.4.

How others solved it

THEN Pin `litellm` to version <=1.67.2 (e.g., `litellm==1.67.2` in requirements) until a patched release (v1.67.4.post1) is verified. This avoids a broken import caused by an internal reference to a non-existent `enterprise` module introduced in PR #10321.

litellm==1.67.2

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics