分类: 系统运维
2016-08-13 09:57:04
youdap:未找到命令临时解决方法是运行一下命令:
adolph@adolph:~$ youdao-dict
Traceback (most recent call last):
File "/usr/bin/youdao-dict", line 27, in
from dae.daeclient import DAEClient
File "/usr/share/youdao-dict/dae/daeclient.py", line 36, in
from dae.window import Window
File "/usr/share/youdao-dict/dae/window.py", line 30, in
from dae.shadowwindow import ShadowWindow
File "/usr/share/youdao-dict/dae/shadowwindow.py", line 28, in
import dae.xutils as xutils
File "/usr/share/youdao-dict/dae/xutils.py", line 25, in
ewmh = EWMH()
File "/usr/share/youdao-dict/dae/ewmh.py", line 50, in __init__
self.display = _display or display.Display()
File "/usr/lib/python3/dist-packages/Xlib/display.py", line 80, in __init__
self.display = _BaseDisplay(display)
File "/usr/lib/python3/dist-packages/Xlib/display.py", line 62, in __init__
display.Display.__init__(*(self, ) + args, **keys)
File "/usr/lib/python3/dist-packages/Xlib/protocol/display.py", line 129, in __init__
raise error.DisplayConnectionError(self.display_name, r.reason)
Xlib.error.DisplayConnectionError: Can't connect to display ":0": b'Invalid MIT-