I just installed Fedora 24 with Emacs and IPython. When I launched the IPython shell in Emacs, the prompt symbol, which should be "In ", is displayed as "^[[?12l^[[?25h". Is there a way to solve this issue?
Thank you for the this post. It took me to an answer which I needed to modify.
Error I got was similar garbled (wierd) text when I opened IPYTHON with
C-c C-p on my simple python file
ppppprrrrriiiiinnnnnttttt((((("""""HHHHHeeeeellllllllllooooo WWWWWooooorrrrrlllllddddd"""""))))))))))))))) Hello World
Solution verbatim as per @ricardoLima's answer didn't work for me. I had to re-write it as follows.
(setq python-shell-interpreter "/path/to/bin/ipython") (setq python-shell-interpreter-args "--simple-prompt -i")
emacs -q in the terminal to open a no-init emacs and run these commands with
M-x run-python and you are good to go.
Emacs: "This is GNU Emacs 25.3.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2019-12-24"
python and Ipython from Anaconda