1

OS X バージョン 10.8 (マウンテン ライオン) で emacs 22.1.1 を実行しており、次の手順に従って pymacs、rope、ropemacs のセットアップを開始しました: http://www.saltycrane.com/blog/2010/05 /my-emacs-python-environment/

auto-complete-mode の前の段階に到達した後、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()

助言がありますか?

4

2 に答える 2

0

最新のPymacsを使用しましたか? https://github.com/pinard/Pymacs/tarball/v0.25

インストール方法については、READMEを参照してください。

ところで、Pymacsは独自のメーリングリストを実行しています。

于 2012-07-29T19:41:02.793 に答える
0


私はこのセットアップhttps://github.com/gabrielelanaro/emacs-for-pythonを使用します。pymacs、rope、ropemacs、yasnippet、pyflakesが統合されています。emacs用の完全なpythondevパッケージで、私にとってはうまくいきました。私のセットアップ-https://github.com/rags/.emacs.d(これにはemacs-for-pythonが含まれます)

于 2012-09-15T09:58:59.503 に答える