我使用的是 Emacs 24,Pymacs 似乎无法启动。
我从 ELPA 安装了 pymacs。当我编写 M-x pymacs-eval
并给出任意表达式时,它会给出以下错误:
pymacs-report-error: Pymacs helper did not start within 30 seconds
我在 Pymacs 缓冲区中收到以下消息:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name main
Process pymacs exited abnormally with code 1
最佳答案
ELPA 包中的 pymacs 似乎不起作用。
从 github repository 手动下载并安装它让它发挥作用。 pymacs 的 ELPA 包上只有 Emacs lisp 文件(.el 文件),但存储库也包含 Python 文件,我还运行了 sudo python setup.py install
命令。在它的文件夹内。
关于emacs - Pymacs 无法在 Emacs24 上启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14430358/