我已关注this guide,并查阅了这些现有的stackoverflow问题:
但不幸的是,这些并没有解决我的问题。所以,我已经发布了这个问题,更详细地说明了我的错误。
根据emacs提供的调试信息,我使用--debug-init运行,结果如下。
Debugger entered--Lisp error: (error "Pymacs helper did not start within 30 seconds")
signal(error ("Pymacs helper did not start within 30 seconds"))
pymacs-report-error("Pymacs helper did not start within %d seconds" 30)
pymacs-start-services()
pymacs-serve-until-reply("eval" (pymacs-print-for-apply (quote "pymacs_load_helper") (quote ("ropemacs" "rope-" nil))))
pymacs-call("pymacs_load_helper" "ropemacs" "rope-" nil)
pymacs-load("ropemacs" "rope-")
eval-buffer(#<buffer *load*> nil "/home/mittenchops/.emacs.d/init.el" nil t) ; Reading at buffer position 1936
load-with-code-conversion("/home/mittenchops/.emacs.d/init.el" "/home/mittenchops/.emacs.d/init.el" t t)
load("/home/mittenchops/.emacs.d/init" t t)
#[0 "\205\262
我的init.el已关联here。
我已经安装了绳索,绳索,pymacs等,但我仍然遇到此错误。我发现pymacs在python中导入似乎是不成功的:
>>> import Pymacs
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named Pymacs
但这很奇怪,因为:
$ git clone https://github.com/pinard/Pymacs.git
$ sudo pip install -e Pymacs
成功安装!
答案 0 :(得分:2)
$ python setup.py build
$ python setup.py install