Re_: Best way to run ipython inside of emacs shell?

Yaroslav Bulatov bulatov at engr.orst.edu
Tue Aug 3 03:33:00 EDT 2004


> Hi,
> 
> Equis Uno wrote:
> 
> > I use meta-x shell to start a shell and then once I see a shell
> > prompt I enter the python command and I get a well-behaved python
> > shell inside of emacs.
> > 
> > I'm trying to figure out the best way to run ipython inside of emacs.

I had the same problem. It has to do with ipython.el not finding the
IPython executable.

To fix it, open ipython.el, and replace line
(when (executable-find "ipython")
with
(when (executable-find "ipython.bat")

Next, add file ipython.bat to your path containing something like the
following:
C:\Python23\python.exe "C:\Program Files\IPython\IPython_shell.py"

Unfortunately it doesn't seem to work right on windows. The prompts
are missing so it's almost unusable.

Yaroslav



More information about the Python-list mailing list