我安装了全新的 14.04 ubuntu,但无法运行 wicd-curses。我可以使用 wicd-gtk,但我也需要 wicd-curses 才能正常工作。
错误
~ sudo wicd-curses
[sudo] password for ry:
Traceback (most recent call last):
File "/usr/share/wicd/curses/wicd-curses.py", line 1063, in <module>
main()
File "/usr/share/wicd/curses/wicd-curses.py", line 995, in main
ui.run_wrapper(run)
File "/usr/local/lib/python2.7/dist-packages/urwid/display_common.py", line 757, in run_wrapper
return fn()
File "/usr/share/wicd/curses/wicd-curses.py", line 88, in wrapper
return func(*args, **kargs)
File "/usr/share/wicd/curses/wicd-curses.py", line 1003, in run
app = appGUI()
File "/usr/share/wicd/curses/wicd-curses.py", line 591, in __init__
self.update_status()
File "/usr/share/wicd/curses/wicd-curses.py", line 88, in wrapper
return func(*args, **kargs)
File "/usr/share/wicd/curses/wicd-curses.py", line 734, in update_status
self.set_status):
File "/usr/share/wicd/curses/wicd-curses.py", line 88, in wrapper
return func(*args, **kargs)
File "/usr/share/wicd/curses/wicd-curses.py", line 161, in check_for_wireless
('$C', ip))
File "/usr/share/wicd/curses/wicd-curses.py", line 781, in set_status
self.update_ui()
File "/usr/share/wicd/curses/wicd-curses.py", line 88, in wrapper
return func(*args, **kargs)
File "/usr/share/wicd/curses/wicd-curses.py", line 930, in update_ui
input_data = ui.get_input_nonblocking()
AttributeError: 'Screen' object has no attribute get_input_nonblocking'
答案1
确保您已经安装了 curses。
sudo apt-get install libncurses5-dev ncurses-bin