Comment 4 for bug 835151

Revision history for this message
Terry Jones (terrycojones) wrote : Re: [Bug 835151] Re: py-shell invoking python not ipython

Hi Andreas

> think the second part of your report might indicate a bug python-mode bug
> though.

The report was only about one thing, but I guess I didn't write it clearly,
apologies!

> The ipython shell with its prompt "[1]" etc. should appear in any case.
>
> Does it?

No. The *Python* buffer contains this:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    NameError: name 'olors' is not defined
    >>>

without the indent, of course. Python works just fine in the buffer, but
it seems clear that py-shell has invoked python not ipython. There is only
one ipython on my shell's path (/usr/bin/ipython).

In summary, I can't get ipython to work with either of 6.0.[12]. Both give
me the result above. Just for fun I apt-get installed python-mode and
copied the 6.0.2 .el and .elc files onto of the package files, but got the
same result.

I've done some googling and seen various people with this error, dating
from about 2007 (as in the link you posted), but haven't seen anyone
posting a fix/workaround.

Please let me know if I can help.

Terry