Bug#1050049: lldb: Lldb stars with the error "ModuleNotFoundError: No module named 'lldb.embedded_interpreter'"

Bernhard Übelacker bernhardu at mailbox.org
Sat Aug 31 12:41:19 BST 2024


On Sat, 19 Aug 2023 01:44:04 +0200 ramon <ramon.garcia.f+debian at gmail.com> wrote:
> $ 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/

Hello everyone,
the package lldb (which is built from src:llvm-defaults)
seems to contain just a symbolic link, which points
to e.g. /usr/bin/lldb-14 which comes from package lldb-14.

For lldb-14 (which is built from src:llvm-toolchain-14)
is another bug reported, unfortunately which did not
receive much attention:

   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016436

Kind regards,
Bernhard



More information about the Pkg-llvm-team mailing list