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'