Bug#1050049: lldb: Lldb stars with the error "ModuleNotFoundError: No module named 'lldb.embedded_interpreter'"
ramon
ramon.garcia.f+debian at gmail.com
Sat Aug 19 00:44:04 BST 2023
Package: lldb
Version: 1:14.0-55.6
Severity: important
Dear Maintainer,
After installing lldb, one runs it
$ lldb
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'lldb.embedded_interpreter'
The reason is the disagreement in paths for the python integration between lldb and the package.
Running lldb -P, the path expected by the debugger is
/usr/lib/local/lib/python3.11/dist-packages
But the actual path for the python files in the package python3-lldb-14 is
/usr/lib/llvm-14/lib/python3.11/dist-packages/
-- System Information:
Debian Release: 12.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-11-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: default
Versions of packages lldb depends on:
ii lldb-14 1:14.0.6-12
lldb recommends no packages.
lldb suggests no packages.
-- no debconf information
More information about the Pkg-llvm-team
mailing list