[英]debuginfo-install SyntaxError:invalid syntax
I want to use debuginfo-install glibc-2.17-157.e17_3.1.x86_64
to use debugging function of gdb. 我想使用debuginfo-install glibc-2.17-157.e17_3.1.x86_64
来使用gdb的调试功能。
But when I run this command, the terminal shows this error. 但是,当我运行此命令时,终端显示此错误。
File "/usr/bin/debuginfo-install", line 58
except yum.Errors.YumBaseError, e:
^
SyntaxError: invalid syntax
I use yum remove yum-utils
to remove debuginfo-install
and try to reinstall it.But it doesn't work.I don't konw how to solve it. 我使用yum remove yum-utils
删除debuginfo-install
并尝试重新安装它。但是它不起作用。我不知道如何解决它。
我解决了这个问题,原因很简单,因为我的python版本是错误的,并且debuginfo-install
是在python 2.7上运行的,所以我修改了这个python脚本,而不是在python 3.5上运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.