大家好, 我正在尝试运行gdbgui,但出现以下错误。我怎样才能解决这个问题?
shyampradhan@shyampradhan-HP-250-G3-Notebook-PC:~/gdbgui/gdbgui$ gdbgui a.out
Traceback (most recent call last):
File "/home/shyampradhan/.local/bin/gdbgui", line 7, in <module>
from gdbgui.backend import main
File "/home/shyampradhan/.local/lib/python2.7/site-packages/gdbgui/backend.py", line 38, in <module>
from gdbgui.statemanager import StateManager # noqa
File "/home/shyampradhan/.local/lib/python2.7/site-packages/gdbgui/statemanager.py", line 3, in <module>
from pygdbmi.gdbcontroller import GdbController
File "/home/shyampradhan/.local/lib/python2.7/site-packages/pygdbmi/gdbcontroller.py", line 57
gdb_path: str = "gdb",
^
SyntaxError: invalid syntax