emacs24 error在Python查询系统包含路径时超时



今天,我安装了emacs24.3,但是出现了一些问题。有些问题在Google的帮助下解决了,但是下面的问题我解决不了。我安装了pymacs, rope和yasnippets,当我打开python文件(*.py)时,出现错误:

Timeout while querying Python for system include path.

我该如何解决这个问题?

该错误由CEDET (cf. semantic/wisent/python.el)引发,该错误包含在Emacs 24.3中。对我来说,在加载任何CEDET文件之前显式设置CEDET的python-shell-解释器变量是有效的。从我的~/行。emacs是:

(setq python-shell-interpreter "/path/to/python")

其中/path/to/python在我的系统中恰好是/opt/bin/python

最新更新