mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
Missing dependancy #203
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @willbelr on GitHub (Jan 11, 2025).
It appear that
python-pydanticis missing from the dependancies in the AUR package (ollama 0.4.5-1).@ParthSareen commented on GitHub (Jan 16, 2025):
Is ollama not running with it?
From what I'm aware of only there is only a
pydanticpypi package - not sure how AUR is relevant here.@willbelr commented on GitHub (Jan 16, 2025):
I meant that the AUR package
python-ollamarequiresextra/python-pydantic. This is not a dependancy ofollama.Since Python 3.13, importing python-ollama raises an error without pydantic installed;
@ParthSareen commented on GitHub (Jan 16, 2025):
We don't own
python-ollamaon AUR so not something we control. Would recommend just following library instructions to install - IIUC you shouldn't have to download off AUR? Just install like you would any other python library.@willbelr commented on GitHub (Jan 16, 2025):
On Arch, system-wide python packages are installed via the community packages, whose prefix are
python-. Unfortunatly, the python-ollama is not officially supported, but someone made a PKGBUILD so it can be installed via AUR. I will contact the package maintainer about the dependancy issue.