Could you ELI5 how to fix this :(? I think I just install shell-gpt and this was dependency of it.
Search Criteria
Package Details: litellm 1.31.8-1
Package Actions
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: | Sir-Photch |
Maintainer: | None |
Last Packager: | dnim |
Votes: | 1 |
Popularity: | 0.125234 |
First Submitted: | 2023-10-08 15:07 (UTC) |
Last Updated: | 2024-03-14 12:54 (UTC) |
Dependencies (27)
- python (python32AUR, python37AUR, python310AUR)
- python-aiohttp (python-aiohttp-gitAUR)
- python-argon2_cffi
- python-click
- python-dotenv
- python-importlib-metadata
- python-jinja
- python-openai
- python-python-multipart
- python-requests
- python-setuptools
- python-tiktoken (python-tiktoken-gitAUR)
- python-tokenizersAUR
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-poetry-core (python-poetry-core-gitAUR) (make)
- python-wheel (make)
- gunicorn (optional) – WSGI HTTP Server
- ollama (ollama-rocm-gitAUR, ollama-cuda-gitAUR, ollama-generic-gitAUR, ollama-openmpi-gitAUR, ollama-openblas-gitAUR, ollama-vulkan-gitAUR, ollama-cuda) (optional) – Serve local ollama models
- python-apscheduler (optional) – Task scheduler
- Show 7 more dependencies...
Required by (2)
Sources (1)
Latest Comments
omnigenous commented on 2024-03-30 12:37 (UTC)
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.
carsme commented on 2024-02-10 14:10 (UTC)
Hey, python-setuptools
is a missing dependency. Detected in the downstream package shell-gpt:
_____________________ ERROR collecting tests/test_shell.py _____________________
ImportError while importing test module '/build/shell-gpt/src/shell_gpt-1.3.0/tests/test_shell.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_shell.py:8: in <module>
from .utils import app, cmd_args, comp_args, mock_comp, runner
tests/utils.py:4: in <module>
from litellm import completion as completion
/usr/lib/python3.11/site-packages/litellm/__init__.py:510: in <module>
from .utils import (
/usr/lib/python3.11/site-packages/litellm/utils.py:32: in <module>
import pkg_resources
E ModuleNotFoundError: No module named 'pkg_resources'
dnim commented on 2024-01-25 03:24 (UTC)
I set the package optdepends accordingly.
fastapi/gunicorn/uvicorn depends were also moved to litellm-ollama
.
lumnn commented on 2024-01-18 15:37 (UTC)
Hi there I believe 2 packages are missing from dependencies. Without them server wont start for me. (not sure though whether it's this package or litellm-ollama related?)
- python-orjson
- uvicorn
Pinned Comments