ImportError: No module named gtksourceview2<=>centos7启动cherrytree的报错的解决方法

# cherrytree
Traceback (most recent call last):
  File "/usr/bin/cherrytree", line 65, in <module>
    f_main(args)
  File "/usr/bin/cherrytree", line 46, in f_main
    import main
  File "/usr/share/cherrytree/modules/main.py", line 24, in <module>
    import cons, core
  File "/usr/share/cherrytree/modules/core.py", line 22, in <module>
    import gtk, pango, gtksourceview2, gobject
ImportError: No module named gtksourceview2
# yum install pygtksourceview.x86_64
# cherrytree
启动成功

解决方法原链接:http://www.giuspen.com/topic/not-able-to-run-cherrytree-in-centos-7/

 

posted @ 2017-06-21 16:32  OC—o  阅读(477)  评论(0)    收藏  举报