ipython3 not interacting with emacs properly
Before filing a bug report, I first want to make sure this is a bug.
emacs version: 25.1.1
elpy version 1.13
Python version 3.5
OS: RHEL6
Copied from http://
I've had my emacs (v. 25.1.1) working with elpy (1.13) under Python 2.7 for a while. I decided to switch to Python 3 recently,
and cannot get it to interact with emacs properly. Normally, when I want to run a script in emacs I C-c C-c, which opens an ipython interpreter. Since switching to Python3, the ipython interpreter still opens, but with problems.
1. I get the following backtrace error:
.
Debugger entered--Lisp error: (args-out-of-range "Python 3.5.2 |Anaconda custom (64-bit)| (default, Jul 2 2016, 17:53:06)
Type \"copyright\", \"credits\" or \"license\" for more information.
IPython 5.1.0 -- 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.
[6n[0m
[0m[J
" 427)
string-
[0m[J
" 427)
ansi-
[0m[J
[?12l[?25h")
python-
[0m[J
[?12l[?25h")
run-
[0m[J
[?12l[?25h")
comint-
[0m[J
[?12l[?25h")
2. The ipython interpreter looks "funky" as well. Normally, line numbers would show up as:
.
In [1]: 7/9
Out [1]: 0.77777777777777778
In [2]:
However, I get something like this:
[6n[JIn [2]: [8D[8C7/9
[8D[JIn [2]: 7/9[11D
[JOut[2]: 0.7777777777777778
[6n[JIn [3]: [8D[8C
For the life of me I cannot figure out why the ipython interpreter is so hosed. Any help will be appreciated.
As you can see from the copied text above, the ipython interpreter is not interacting with emacs very well at all. ChillarAnand had suggested this to be a python-mode bug. What do you think?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Travis N. Knepp for more information if necessary.