Package Details: litellm 1.61.6-1

Git Clone URL: https://aur.archlinux.org/litellm.git (read-only, click to copy)
Package Base: litellm
Description: Call all LLM APIs using the OpenAI format
Upstream URL: https://pypi.org/project/litellm/
Keywords: api llm openai python
Licenses: MIT
Submitter: shtrophic
Maintainer: AlphaJack
Last Packager: AlphaJack
Votes: 2
Popularity: 0.005814
First Submitted: 2023-10-08 15:07 (UTC)
Last Updated: 2025-02-18 22:08 (UTC)

Pinned Comments

Latest Comments

1 2 Next › Last »

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)

omnigenous commented on 2024-03-27 07:43 (UTC)

Can't upgrade from 1.31.4-1 -> 1.31.8-1

error: failed to commit transaction (conflicting files)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__init__.py exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__main__.py exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/__init__.cpython-311.opt-1.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/__init__.cpython-311.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/__main__.cpython-311.opt-1.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/__main__.cpython-311.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/_legacy.cpython-311.opt-1.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/_legacy.cpython-311.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/_password_hasher.cpython-311.opt-1.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/_password_hasher.cpython-311.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/_typing.cpython-311.opt-1.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/_typing.cpython-311.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/_utils.cpython-311.opt-1.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/_utils.cpython-311.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/exceptions.cpython-311.opt-1.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/exceptions.cpython-311.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/low_level.cpython-311.opt-1.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/low_level.cpython-311.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/profiles.cpython-311.opt-1.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/__pycache__/profiles.cpython-311.pyc exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/_legacy.py exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/_password_hasher.py exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/_typing.py exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/_utils.py exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/exceptions.py exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/low_level.py exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/profiles.py exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2/py.typed exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2_cffi-23.1.0.dist-info/METADATA exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2_cffi-23.1.0.dist-info/RECORD exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2_cffi-23.1.0.dist-info/WHEEL exists in filesystem (owned by python-argon2-cffi)
python-argon2_cffi: /usr/lib/python3.11/site-packages/argon2_cffi-23.1.0.dist-info/licenses/LICENSE exists in filesystem (owned by python-argon2-cffi)
Errors occurred, no packages were upgraded.