[英]Cannot ennable plugin in gedit
I can see many plugins in "Plugin" tab, but I cannot enable or disable any one of them.我可以在“插件”选项卡中看到许多插件,但我无法启用或禁用其中任何一个。 If I click to enable/disable, Gedit will disappear right away!!: Here is the output from terminal:如果我点击启用/禁用,Gedit 将立即消失!!:这是终端的输出:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site.py", line 548, in <module>
main()
File "/usr/local/lib/python2.7/site.py", line 530, in main
known_paths = addusersitepackages(known_paths)
File "/usr/local/lib/python2.7/site.py", line 266, in addusersitepackages
user_site = getusersitepackages()
File "/usr/local/lib/python2.7/site.py", line 241, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/usr/local/lib/python2.7/site.py", line 231, in getuserbase
USER_BASE = get_config_var('userbase')
File "/usr/local/lib/python2.7/sysconfig.py", line 516, in get_config_var
return get_config_vars().get(name)
File "/usr/local/lib/python2.7/sysconfig.py", line 449, in get_config_vars
import re
File "/usr/local/lib/python2.7/re.py", line 105, in <module>
import sre_compile
File "/usr/local/lib/python2.7/sre_compile.py", line 14, in <module>
import sre_parse
File "/usr/local/lib/python2.7/sre_parse.py", line 17, in <module>
from sre_constants import *
File "/usr/local/lib/python2.7/sre_constants.py", line 18, in <module>
from _sre import MAXREPEAT
ImportError: cannot import name MAXREPEAT
Please help me!请帮帮我! many thanks.非常感谢。
Ubuntu Release 12.04 (precise) 32-bit Ubuntu 版本 12.04(精确)32 位
Kernel Linux 3.5.0-39-generic内核 Linux 3.5.0-39-generic
GNOME 3.4.2 GNOME 3.4.2
我认为问题是因为您使用 gnome 3 和 gedit 2。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.