【发布时间】:2013-12-02 01:44:52
【问题描述】:
我在 OS X lion 上使用 Aquamacs 并尝试使用最新的 python-mode.el 来编辑和运行我的 python 代码。我可以通过键入 C-! 打开 ipython shell,但是如果我运行 C-c C-c 或 C-c | python 代码在没有 ipython 的新 Python 缓冲区中运行。我已经尝试了许多修复。以下是我的 .emacs 文件中特定于 python 的部分:
(when (featurep 'python) (unload-feature 'python t))
;; add custom libs
(add-to-list 'load-path "~/tools/emacs")
;; Set up pylab
(setq py-install-directory "/Users/stringham/tools/emacs/")
(require 'python-mode)
(setq py-shell-name "/usr/local/bin/ipython")
(setq py-python-command "/usr/local/bin/ipython")
有没有人成功地将 ipython 与 Aquamacs 结合使用?
【问题讨论】:
标签: python emacs ipython aquamacs python-mode