Enter in the IPython console inserts new line instead of executing current line after kernel restart
See original GitHub issueRecently I updated my anaconda package, which installed
ipython 4.0.0
ipython-qtconsole 4.0.1
spyder 2.3.6
After that, whenever I restart the ipython kernel in the qt-console (using ctrl + .
), the console will not execute any command, e.g.:
Python 2.7.10 |Anaconda 2.3.0 (64-bit)| (default, May 28 2015, 16:44:52) [MSC v.1500 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.
IPython 4.0.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.
%guiref -> A brief reference about the graphical user interface.
In [1]: 1
...:
I cannot reproduce this behavior when running ipython-qtconsole outside spyder, i.e. it works as expected. My current workaround ist closing the console, thus killing the kernel, and load a fresh one.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:2
- Comments:62 (18 by maintainers)
Top Results From Across the Web
Enter in the IPython console inserts new line instead of executing ...
Enter in the IPython console inserts new line instead of executing current line after kernel restart.
Read more >Any way to swap Enter and Shift-Enter input commands in Edit ...
3 Answers 3 · Go to Settings > Advanced Settings Editor. A Settings tab will open. · On the sidebar of the Settings...
Read more >Messaging in IPython — IPython 3.2.1 documentation
When the user enters a line in a console style interface, the console must decide whether to immediately execute the current code, or...
Read more >A Qt Console for IPython
If you want to force multiline input, hit Ctrl-Enter at the end of the first line instead of Enter , and it will...
Read more >Jupyter Notebook Enhancements, Tips And Tricks - fastai
on the first line, and then pasting the above code on the following lines, and running the ... After the new setting is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
if you hold down shift and press enter it works fine (although not what we want)
We are planning to release Spyder 3.0 (which will contain this fix, among many other things) next month 😃