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


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

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

Started byFrederic Peters <fpeters@debian.org>
First post2025-11-19 09:20 +0100
Last post2025-11-19 18:50 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  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

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

FromFrederic Peters <fpeters@debian.org>
Date2025-11-19 09:20 +0100
SubjectBug#1120990: litecli: does not start: ModuleNotFoundError: No module named 'llm'
Message-ID<LSLzX-e5rt-1@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1270767

FromDaniel Baumann <daniel@debian.org>
Date2025-11-19 10:50 +0100
Message-ID<LSMZ3-e6fi-1@gated-at.bofh.it>
In reply to#1270763
On 11/19/25 09:10, Frederic Peters wrote:
> 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?

llm is in contrib, but I'm patching it out as done earlier with mycli.

Hopefully upstream will, just like with mycli, make it optional in the 
next version.

Regards,
Daniel

[toc] | [prev] | [next] | [standalone]


#1270830

FromFrederic Peters <fpeters@debian.org>
Date2025-11-19 18:50 +0100
Message-ID<LSUtz-ebmJ-3@gated-at.bofh.it>
In reply to#1270767
Thanks for your quick action on this,

         frederic

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web