运行更新管理器时出错

运行更新管理器时出错

update-manager我在 Ubuntu 16.04 中尝试运行时出现以下错误。看起来它正在尝试运行python3而不是python2.7

跑步sudo update-manager可得:

Traceback (most recent call last):
  File "/usr/bin/update-manager", line 28, in <module>
    from gi.repository import Gtk
  File "/usr/local/lib/python3.5/dist-packages/gi/__init__.py", line 39
    print url
            ^
SyntaxError: Missing parentheses in call to 'print'

相关内容