You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently encountered an installation issue with LiteLLM where pip install litellm failed due to an unresolved dependency called puccinialin. After some digging, I discovered this stems from a problematic version of the tokenizers package.
The Problem:
Newer versions of tokenizers (likely >=0.21.0) reference puccinialin, which doesn’t exist on PyPI.
This causes LiteLLM installation to fail with:
ERROR: Could not find a version that satisfies the requirement puccinialin
The Solution:
Install LiteLLM without dependencies:
pip install litellm --no-deps
Manually install tokenizers and core dependencies:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone! 👋
I recently encountered an installation issue with LiteLLM where pip install litellm failed due to an unresolved dependency called puccinialin. After some digging, I discovered this stems from a problematic version of the tokenizers package.
The Problem:
Newer versions of tokenizers (likely >=0.21.0) reference puccinialin, which doesn’t exist on PyPI.
This causes LiteLLM installation to fail with:
The Solution:
Tested Environment:
Python 3.8
macOS
Note:
If other dependencies are missing, refer to LiteLLM's pyproject.toml and install what mentioned under dependencies section.
Beta Was this translation helpful? Give feedback.
All reactions