我遵循了this guide,并咨询了这些现有的stackoverflow问题:
Pymacs helper did not start after 30 seconds
Windows 8 + Emacs 24.3 + emacs-for-python: Pymacs helper did not start within 30 seconds
但是不幸的是,这些并没有解决我的问题。因此,我已发布了有关此错误的更多详细信息。
按照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。
我已经安装了rope,ropemacs,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
安装成功!
最佳答案
啊,没关系,我忘了建立仓库。
$ python setup.py build
$ python setup.py install
关于python - 另一个pymacs helper未能在30秒内启动(但是调试更多),我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/22665800/