ubuntu17.10 无法设置ibus-sunpinyin

 ubuntu17.10安装了ibus-pinyin, 选用了sunpinyin,但是无法调出sunpinyin的设置窗口。当通过命令/usr/lib/ibus/ibus-setup-sunpinyin时,出现如下错误:

Traceback (most recent call last):
  File "/usr/share//ibus-sunpinyin/setup/main.py", line 42, in 
    import ibus
ImportError: No module named ibus


需要安装python-ibus,到https://launchpad.net/ubuntu/trusty/amd64/python-ibus/1.5.5-1ubuntu3.2 下载python-ibus_1.5.5-1ubuntu3.2_all.deb安装包,通过命令

sudo gdebi python-ibus_1.5.5-1ubuntu3.2_all.deb 

安装即可

你可能感兴趣的:(ubuntu17.10 无法设置ibus-sunpinyin)