Skip to content

GDB TUI on aarch64 - Python initialization failed: Failed to import encodings module #37

@kevinw66

Description

@kevinw66

I'm using aarch64 version, but both gdb -tui and lldb are not working since version 0.25(gdb -tui works fine on 0.21 but lldb also not work on this version)

[root@192 opt]# /opt/ldb_toolchain_27/bin/gdb -tui
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Python initialization failed: Failed to import encodings module
Cannot enable the TUI: error opening terminal [TERM=xterm]

[root@192 opt]# /opt/ldb_toolchain_27/bin/lldb
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'lldb'
Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "<string>", line 2, in lldb_setup_sigint_handler
ModuleNotFoundError: No module named 'signal'
Cannot read termcap database;
using dumb terminal settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions