我试图更新我的 Python 并搞砸了我的整个系统。
我现在可以启动我的软件中心。我尝试谷歌搜索多个修复程序,但没有任何帮助。我的软件中心无法启动。
当我尝试启动它时,此错误显示:
astephen@localhost:/usr/bin$ ./software-centerGtk-Message: Failed to load module "gtk-vector-screenshot"
Traceback (most recent call last):
File "./software-center", line 36, in <module>
from softwarecenter.utils import (
File "/usr/share/software-center/softwarecenter/utils.py", line 19, in <module>
import dbus
ImportError: No module named dbus
Run Code Online (Sandbox Code Playgroud)
我尝试dbus使用以下方法重新安装:
apt-get install --reinstall dbus
Run Code Online (Sandbox Code Playgroud)
但它没有帮助。
astephen@localhost:/usr/bin$ sudo apt-get install --reinstall dbusReading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to …Run Code Online (Sandbox Code Playgroud)