当我从 Dash、系统设置或终端启动 Ubuntu Tweak 时,它立即崩溃。
我从终端收到此错误代码:
Traceback (most recent call last):
File "/usr/bin/ubuntu-tweak", line 124, in <module>
from ubuntutweak.main import UbuntuTweakWindow
File "/usr/lib/python2.7/dist-packages/ubuntutweak/main.py", line 33, in <module>
from ubuntutweak.apps import AppsPage
File "/usr/lib/python2.7/dist-packages/ubuntutweak/apps/__init__.py", line 19, in <module>
from ubuntutweak.policykit.dbusproxy import proxy
File "/usr/lib/python2.7/dist-packages/ubuntutweak/policykit/dbusproxy.py", line 22, in <module>
from IN import INT_MAX
ImportError: cannot import name INT_MAX
有什么办法可以修复它吗,看起来像一个简单的导入修复?
答案1
Ubuntu Tweak 0.8.4 现已兼容 Ubuntu 13.04
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get upgrade -y
or
sudo apt-get install ubuntu-tweak