Package: llm
Version: 0.27.1-1
Severity: important
Tags: l10n
X-Debbugs-Cc: [email protected]

Seems that llm doesn't maintain a venv.

At the very least it should tell people what to install if pip fails.


~$ llm install llm-ollama
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.

    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

    See /usr/share/doc/python3.13/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation 
or OS distribution provider. You can override this, at the risk of breaking 
your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.



-- System Information:
Debian Release: 13.1
  APT prefers stable
  APT policy: (750, 'stable'), (600, 'oldstable'), (500, 'stable-security'), 
(500, 'oldstable-security'), (500, 'unstable'), (500, 'testing'), (300, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64, armhf

Kernel: Linux 6.12.35+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages llm depends on:
ii  python3                      3.13.5-1
ii  python3-click                8.2.0+0.really.8.1.8-1
ii  python3-click-default-group  1.2.4-1
ii  python3-condense-json        0.1.3-2
ii  python3-openai               1.69.0-1
ii  python3-pip                  25.1.1+dfsg-1
ii  python3-pkg-resources        78.1.1-0.1
ii  python3-pluggy               1.5.0-1
ii  python3-puremagic            1.28-1
ii  python3-pydantic             2.10.6-2
ii  python3-sqlite-migrate       0.1~beta0-3
ii  python3-typing-extensions    4.13.2-1
ii  python3-ulid                 2.2.0-4
ii  python3-yaml                 6.0.2-1+b2
ii  sqlite-utils                 3.38-1

llm recommends no packages.

llm suggests no packages.

-- debconf-show failed

Reply via email to