我刚刚从Ubuntu 16.04升级到16.10,然后我就不能运行software-properties-gtk了。
该命令的输出如下:
Traceback (most recent call last):
File "/usr/bin/software-properties-gtk", line 37, in <module>
from softwareproperties.gtk.SoftwarePropertiesGtk import SoftwarePropertiesGtk
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 34, in <module>
from aptdaemon import client
File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 43, in <module>
import defer
ImportError: No module named 'defer'这意味着所有依赖aptd的其他程序都会抛出错误。
我尝试过重新安装软件包python-defer,它没有出现任何错误,但没有纠正这个问题。
有什么建议哪里出问题了吗?谢谢!
发布于 2016-10-17 12:44:19
检查是否为不同的python版本安装了延迟版本。如果我没记错的话,您可以使用pip2 install defer或pip3 install defer
https://askubuntu.com/questions/838301
复制相似问题