Package Details: python-ollama 0.6.1-1

Git Clone URL: https://aur.archlinux.org/python-ollama.git (read-only, click to copy)
Package Base: python-ollama
Description: Ollama Python library
Upstream URL: https://github.com/ollama/ollama-python
Keywords: library ollama python
Licenses: MIT
Submitter: daniel_chesters
Maintainer: Dominiquini
Last Packager: Dominiquini
Votes: 5
Popularity: 0.36
First Submitted: 2024-03-26 00:05 (UTC)
Last Updated: 2025-11-14 04:26 (UTC)

Latest Comments

Dominiquini commented on 2025-10-05 06:33 (UTC)

@harre: Thanks: I added 'python-hatch-vcs' to the makedepends list!

harre commented on 2025-10-05 00:26 (UTC)

==> Starting build()...
* Getting build dependencies for wheel...

ERROR Missing dependencies:
        hatch-vcs
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-ollama-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
python-ollama - exit status 4

Solved by installing hatch-vcs

daniel_chesters commented on 2025-01-17 10:32 (UTC)

Done. Thank you alfalfa.

alfalfa commented on 2025-01-17 00:28 (UTC)

Please add python-pydantic among dependancies.

Python 3.13.1 (main, Dec  4 2024, 18:05:56) [GCC 14.2.1 20240910] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ollama
Traceback (most recent call last):
  File "<python-input-0>", line 1, in <module>
    import ollama
  File "/usr/lib/python3.13/site-packages/ollama/__init__.py", line 1, in <module>
    from ollama._client import Client, AsyncClient
  File "/usr/lib/python3.13/site-packages/ollama/_client.py", line 26, in <module>
    from pydantic.json_schema import JsonSchemaValue
ModuleNotFoundError: No module named 'pydantic'

daniel_chesters commented on 2024-12-24 08:00 (UTC)

I know this package is out of date, but oterm seem to be incompatible with python-ollama 0.4.x for the moment. I have to check.