Open TSAstron opened 1 week ago
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?
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. So are you saying this will have to wait for some developer to find time, or is pip an officially deprecated method of instillation, and there is no hope?
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