1

私はこのガイドに従い、これらの既存のスタックオーバーフローの質問を調べました:

しかし残念ながら、これらは私の問題を解決しませんでした。そのため、エラーの詳細を記載してこの質問を投稿しました。

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はここにリンクされています。

ロープ、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

正常にインストールされました!

4

1 に答える 1

2

ああ、気にしないで、リポジトリを構築するのを忘れていました。

$ python setup.py build
$ python setup.py install
于 2014-03-26T15:35:51.940 に答える