Pymacs助手不加载

时间:2012-07-29 18:10:08

标签: python emacs pymacs

我在OS X版本10.8(山狮)上运行emacs 22.1.1,我已经开始根据此处提供的说明设置pymacs,rope,ropemacs: http://www.saltycrane.com/blog/2010/05/my-emacs-python-environment/

在自动完成模式之前到达阶段后,启动emacs时出现以下错误:

("emacs")
Loading encoded-kb...done

Loading advice...done
Pymacs loading ropemacs...

An error has occurred while loading `/Users/my_name/.emacs':

error: Pymacs helper did not start within 30 seconds

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

使用--debug-init选项启动emacs后我得到了

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" "rop$
  pymacs-call("pymacs_load_helper" "ropemacs" "rope-")
  pymacs-load("ropemacs" "rope-")
  eval-buffer(#<buffer  *load*> nil "/Users/my_name/.emacs" nil t)  ; Reading at buffer position 566
  load-with-code-conversion("/Users/my_name/.emacs" "/Users/my_name/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "^H\205\276^@   \306=\203^Q^@\307^H\310Q\202A^@ \311=\2033^@\312\307\313\314#\203#^@\315\202A^@\312\30$
  command-line()
  normal-top-level()

有什么建议吗?

2 个答案:

答案 0 :(得分:0)

你使用过最新的Pymacs吗? https://github.com/pinard/Pymacs/tarball/v0.25

请参阅自述文件如何安装。

BTW Pymacs运行它自己的邮件列表。

答案 1 :(得分:0)


我使用此设置https://github.com/gabrielelanaro/emacs-for-python。它有pymacs,绳索,ropemacs,yasnippet,pyflakes集成。一个完整的python开发包用于emacs,它只是为我工作。 我的设置 - https://github.com/rags/.emacs.d(包括emacs-for-python)