Package Details: litellm 1.79.1-1

Git Clone URL: https://aur.archlinux.org/litellm.git (read-only, click to copy)
Package Base: litellm
Description: Library to easily interface with LLM API providers.
Upstream URL: https://github.com/BerriAI/litellm
Keywords: api llm openai python
Licenses: MIT
Provides: python-litellm
Submitter: shtrophic
Maintainer: AlphaJack (medaminezghal)
Last Packager: medaminezghal
Votes: 3
Popularity: 0.20
First Submitted: 2023-10-08 15:07 (UTC)
Last Updated: 2025-11-07 15:50 (UTC)

Pinned Comments

Latest Comments

1 2 Next › Last »

medaminezghal commented on 2025-11-10 17:15 (UTC) (edited on 2025-11-10 17:18 (UTC) by medaminezghal)

@JPT48 I have litellm installed and there is no relation directly or indirectly between python-h5py and litellm even in the peotry.lock file in the official GitHub repository.

$ pactree -r python-h5py-openmpi
python-h5py-openmpi
├─python-datasets
│ └─python-evaluate
├─python-keras
│ └─python-tensorflow-opt-cuda
│   ├─python-keras
│   └─python-tf-keras
├─python-tensorflow-opt-cuda
└─python-tf-keras

JPT48 commented on 2025-11-10 17:08 (UTC)

Hi, cannot install, collides with FreeCAD dependency:

could not satisfy dependencies:
- unable to satisfy dependency 'hdf5' required by python-h5py
- removing hdf5-openmpi breaks dependency 'hdf5-openmpi' required by med-openmpi

dreieck commented on 2025-02-09 14:52 (UTC) (edited on 2025-02-09 14:53 (UTC) by dreieck)

Ahoj,
you need to install the license into /usr/share/licenses/${pkgname}/:

litellm E: Uncommon license identifiers such as 'MIT' require license files below /usr/share/licenses/litellm/ or switching to common license identifiers. Found 0/1 required license files.

Also, you specified the same packages both in depends and optdepends, please choose only one and the one which is appropriate:

litellm E: Dependency python-fastapi specified in both depends and optdepends
litellm E: Dependency python-orjson specified in both depends and optdepends
litellm E: Dependency python-backoff specified in both depends and optdepends
litellm E: Dependency uvicorn specified in both depends and optdepends
litellm E: Dependency gunicorn specified in both depends and optdepends

Also, there might be another (optional?) dependencies:

litellm E: Dependency python-cryptography detected and not included (python modules ['cryptography.hazmat.primitives.hashes', 'cryptography.x509', 'cryptography.hazmat.primitives.asymmetric.padding', 'cryptography.hazmat.backends.default_backend', 'cryptography.hazmat.primitives.serialization'] needed in files ['usr/lib/python3.13/site-packages/litellm/proxy/auth/litellm_license.py', 'usr/lib/python3.13/site-packages/litellm/proxy/auth/handle_jwt.py'])
litellm E: Dependency python-transformers detected and not included (python modules ['transformers.AutoTokenizer'] needed in files ['usr/lib/python3.13/site-packages/litellm/llms/petals/completion/handler.py'])
litellm E: Dependency python-pillow detected and not included (python modules ['PIL.Image'] needed in files ['usr/lib/python3.13/site-packages/litellm/llms/ollama/common_utils.py', 'usr/lib/python3.13/site-packages/litellm/litellm_core_utils/prompt_templates/factory.py'])
litellm E: Dependency python-protobuf detected and not included (python modules ['google.protobuf.struct_pb2.Value', 'google.protobuf.json_format'] needed in files ['usr/lib/python3.13/site-packages/litellm/llms/vertex_ai/vertex_ai_non_gemini.py'])
litellm E: Dependency python-jsonschema detected and not included (python modules ['jsonschema.ValidationError', 'jsonschema.validate'] needed in files ['usr/lib/python3.13/site-packages/litellm/litellm_core_utils/json_validation_rule.py'])
litellm E: Dependency python-pynacl detected and not included (python modules ['nacl.utils', 'nacl.secret'] needed in files ['usr/lib/python3.13/site-packages/litellm/proxy/common_utils/encrypt_decrypt_utils.py'])
litellm E: Dependency python-redis detected and not included (python modules ['redis', 'redis.asyncio', 'redis.asyncio.Redis', 'redis.asyncio.client.Pipeline', 'redis.cluster.ClusterNode'] needed in files ['usr/lib/python3.13/site-packages/litellm/_redis.py', 'usr/lib/python3.13/site-packages/litellm/caching/redis_cache.py'])
litellm E: Dependency python-numpy detected and not included (python modules ['numpy'] needed in files ['usr/lib/python3.13/site-packages/litellm/caching/redis_semantic_cache.py'])

Regards and thanks for the package!

sewer56 commented on 2024-09-11 02:52 (UTC)

For me this was missing a dependency on python-apscheduler

dreieck commented on 2024-05-24 11:59 (UTC) (edited on 2024-05-24 11:59 (UTC) by dreieck)

Version 1.38.2 is out, but this is at version 1.38.0.
(I cannot flag out of date because it already has been flagged out of date for a completely different reason (PKGBUILD error). So I report here.)

dreieck commented on 2024-05-24 11:57 (UTC)

Fails in prepare():

==> Starting prepare()...
sed: can't read llmlite/proxy/proxy_cli.py: No such file or directory

Regards and thanks for maintaining!

Avoozl commented on 2024-05-24 00:46 (UTC)

The latest update is broken (the PKGBUILD file references llmlite/proxy/proxy_cli.py instead of litellm/proxy/proxy_cli.py, causing the package to fail to install.

omnigenous commented on 2024-03-30 12:37 (UTC)

Could you ELI5 how to fix this :(? I think I just install shell-gpt and this was dependency of it.

dnim commented on 2024-03-27 08:51 (UTC)

omnigenous python-argon2-cffi should be python-argon2_cffi

(Note underscore)