Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1270763

Bug#1120990: litecli: does not start: ModuleNotFoundError: No module named 'llm'

From Frederic Peters <fpeters@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1120990: litecli: does not start: ModuleNotFoundError: No module named 'llm'
Date 2025-11-19 09:20 +0100
Message-ID <LSLzX-e5rt-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: litecli
Version: 1.17.0-1
Severity: grave
Justification: renders package unusable

Hi,

litecli doesn't start:

$ litecli --help
Traceback (most recent call last):
  File "/usr/bin/litecli", line 5, in <module>
    from litecli.main import cli
  File "/usr/lib/python3/dist-packages/litecli/main.py", line 45, in <module>
    from .completion_refresher import CompletionRefresher
  File "/usr/lib/python3/dist-packages/litecli/completion_refresher.py", line 6, in <module>
    from .packages.special.main import COMMANDS
  File "/usr/lib/python3/dist-packages/litecli/packages/special/__init__.py", line 19, in <module>
    from . import llm
  File "/usr/lib/python3/dist-packages/litecli/packages/special/llm.py", line 16, in <module>
    import llm
ModuleNotFoundError: No module named 'llm'

(here with --help but it fails the same way trying to open a db file)

Its pyproject.toml has "llm>=0.19.0" but that module is not packaged in debian, 
maybe the llm support could be patched out of litecli for now?


thanks,

       Frederic

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.17.7+deb14+1-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.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 litecli depends on:
ii  python3                 3.13.7-1
ii  python3-cli-helpers     2.7.0-2
ii  python3-click           8.2.0+0.really.8.1.8-1
ii  python3-configobj       5.0.9-1
ii  python3-mypy            1.18.2-2
ii  python3-pip             25.3+dfsg-1
ii  python3-pkg-resources   78.1.1-0.1
ii  python3-prompt-toolkit  3.0.52-1
ii  python3-pygments        2.18.0+dfsg-2
ii  python3-sqlparse        0.5.3-1

litecli recommends no packages.

litecli suggests no packages.

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1120990: litecli: does not start: ModuleNotFoundError: No module named 'llm' Frederic Peters <fpeters@debian.org> - 2025-11-19 09:20 +0100
  Bug#1120990: litecli: does not start: ModuleNotFoundError: No module named 'llm' Daniel Baumann <daniel@debian.org> - 2025-11-19 10:50 +0100
    Bug#1120990: litecli: does not start: ModuleNotFoundError: No module named 'llm' Frederic Peters <fpeters@debian.org> - 2025-11-19 18:50 +0100

csiph-web