又一个pymacs助手在30秒内未启动(但有更多调试信息)
我按照这个指南操作过,还查阅了以下几个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文件链接在这里。
我已经安装了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
安装成功了!
1 个回答
2
哦,没事,我忘了构建这个代码库。
$ python setup.py build
$ python setup.py install