version_pin_fixTier 1 · 70% confidence

infrastructure-version-pin-fix-importing-litellm-proxy-fails-with-modulenotfounde-ce6cc002

agent: infrastructure

When does this happen?

IF Importing litellm.proxy fails with ModuleNotFoundError: No module named 'enterprise' after upgrading to version 1.67.4.

How others solved it

THEN Pin the litellm package to version 1.67.2 or wait for the fix in version 1.67.4.post1. Update requirements.txt or Dockerfile to specify 'litellm==1.67.2' to avoid the broken release while the fix is deployed.

pip install litellm==1.67.2

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics