-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shift+Enter fails to execute cells #477
Comments
Hey @TSAstron, thanks for reporting. I have a quick question for you: is this a problem you're experiencing in Spyder-notebook? Or in Spyder? |
The application I launch is Spyder itself, but I do have the spyder-notebook installed in order to open the jupyter (.ipynb) files. I'm guessing Spyder runs/uses spyder-notebook as one of its panes. The problem is not with cells in ordinary python scripts, but with enhanced cells of jupyter notebooks. As you see on the screenshot, the cell is selected, but the cursor is not blinking inside - this is when shift+enter does not work. |
Ok, I see, thanks for the clarification. I'm going to move this issue to the Spyder-notebook repository then because it's a bug with that plugin. But I don't when it's maintainer will have time to take a look at it, sorry. |
Hi @TSAstron , I tried to reproduce this bug but I did not manage, neither with the latest version of Spyder nor with the version 5.5.1 that you are using. However, I have seen several reports of all kinds of issues when people use pip to install the spyder-notebook plugin. Whenever I try to use pip with spyder-notebook, it does not work well for me, but I have never had the time and energy to find out where the problem lies (I suspect it has to do with the packaging of Qt WebEngine). So my suggestion would be to install everything with conda instead of pip. |
Hi @jitseniesen , it's good to know there's at least some workaround, but conda is unfortunately not an option for me. I remember that the cell execution worked fine in an earlier version (4?) with pip installation, but that was quite some time ago (over a year). I haven't been using spyder since then, and recently decided to compare it with VS Code and jupyterlab again. |
Pip is not deprecated. We know that using conda is impossible or very difficult for some users. For Spyder itself, pip is viable but needs some experience and we don't provide individual support. As developers we are concentrating on conda because that is the mechanism that we use for the Spyder installer and because conda works better with compiled libraries such as numpy and Qt (though pip is catching up in this aspect). The notebook integration in Spyder is still experimental, which means it has rough edges, one of them is that pip installations do not work well. I do want this to be fixed but I don't expect that I'll be able to find time to fix it myself any time soon. |
Description
What steps will reproduce the problem?
In a jupyter notebook, selecting any cell (but not entering edit mode), holding shift and pressing enter does nothing.
The cell is executed normally when that combination is pressed from edit mode.
Versions
Dependencies
The text was updated successfully, but these errors were encountered: