我使用其中一个msi文件安装了python.但是当我启动emacs时,它给了我:
问题1,我以为我已经修好了
当我运行cmd并输入python时,我得到了
<code>"python" is not recognized as an internal or external command, operable program or batch file. </code>
所以从在线资源,(Windows 7顺便说一句)去了系统属性和环境变量,并为我的特定用户添加了一个用户变量
Path and %PATH%;C:Python27
它有点工作,而不是它.
问题2:
pymacs-report-error: Pymacs helper did not start within 30 seconds
而且我不知道为什么.我怎样才能解决这个问题?
解决方法:
我认为你的可执行文件必须是“python”而不是“python2.7”(例如).
此外,Pymacs必须安装到python目录的site-packages目录(或PYTHONPATH env变量中的目录)中(在基于UNIX的系统上,我使用’pip’或’easy_install’).
最后,pymacs.el必须放在你的?/ .emacs.d / vendor /(例如)目录中(在windows上,参考this post)并正确加载.
在我的?/ .emacs.d / init.el我有这个:
<code>(setq my-dot-emacs-dir "~/.emacs.d") (setq my-vendor-emacs-dir (concat my-dot-emacs-dir "/vendor")) (add-to-list 'load-path my-vendor-emacs-dir) </code>
您可以调整此代码以自动加载位于.emacs.d / vendor /中的.el文件
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!