【发布时间】:2012-06-25 15:18:14
【问题描述】:
您好,我最近在 2012 年 4 月下载了 ipython 0.12.1,并让它在 Windows 终端下运行。即我打开命令提示符并键入 ipython,然后出现 ipython 提示符。
在我需要在 emacs 中使用它之前,一切都很好。因此,在尝试使用 pyton-mode.el 或 ipython.el (目前冻结我的 emacs )之前,我尝试使用 M-x shell 或 M-x eshell 并输入 ipython -i。
这是我在 shell 完全挂起之前得到的跟踪:
ipython -i
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information.
IPython 0.12.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
WARNING: Readline services not available or not loaded.WARNING: Proper color support under MS Windows requires the pyreadline library.
You can find it at:
http://ipython.org/pyreadline.html
Gary's readline needs the ctypes module, from:
http://starship.python.net/crew/theller/ctypes
(Note that ctypes is already part of Python versions 2.5 and newer).
Defaulting color scheme to 'NoColor'
那么为什么它会挂在 emacs shell 中并在常规命令提示符下工作。我需要更改我的默认 emacs shell 吗?我也在两台不同的机器上试过这个。我错过了什么吗?
【问题讨论】:
标签: python shell emacs ipython windows-shell