spyder: Run cell (ctrl+Enter) don't work in Spyder inatalled with the Anaconda
Issue Report Checklist
- Searched the issues page for similar reports *Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
- Reproduced the issue after updating with
conda update spyder(orpip, if not using Anaconda) - Could not reproduce inside
jupyter qtconsole(if console-related) - Tried basic troubleshooting (if a bug/error)
- Restarted Spyder
- Reset preferences with
spyder --reset - Reinstalled the latest version of Anaconda
- Tried the other applicable steps from the Troubleshooting Guide
- Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
Executing the “run cell” (ctrl + enter) on code in the Spyder editor produces no response/output in the console. The same with the “print” command appearing in the code - no output displayed in the console.
What steps reproduce the problem?
- Using the “ctrl + enter” command on relevant code in the editor.
- print() seems not to work.
- Only when copying the code from 1 and 2 into the console command prompt I get the relevant results.
What is the expected output? What do you see instead?
Nothing is produced
Paste Traceback/Error Below (if applicable)
PASTE TRACEBACK HERE
Versions
- Spyder version: 3.3.2
- Python version: 3.7
- Qt version: 5.9.7
- PyQt version: 5.9.2
- Operating System name/version: win 10 pro
Dependencies
PASTE DEPENDENCIES HERE
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 26 (11 by maintainers)
No, individual lines are run with
F9.I got the same issue but resolved it using F9. instead of using “ctrl+enter” use ‘F9’ to execute a single line or a block of code.
finally i found a solution, what a headache it was i stopped using spyder because i thought it got corrupted
I am just new here and made a rookie mistake, sorry for the trouble, it was but a simple fix.
Tools -> Preferences - Keyboard Shortcuts
Thanks again! I absolutely love Spyder 4.0!
------ Original Message ------ From: “Leonard D. Vorbeck” notifications@github.com To: “spyder-ide/spyder” spyder@noreply.github.com Cc: “Yiorgos” ynikas@yahoo.com; “Mention” mention@noreply.github.com Sent: 12/11/2019 4:35:52 PM Subject: Re: [spyder-ide/spyder] Run cell (ctrl+Enter) don’t work in Spyder inatalled with the Anaconda (#8994)
I am using F9 for this function. it’s working well
sorry to say - that I did a classic “power cycle” - and my issue disappeared… thanks though!
Awesome @byersiiasa 😃 About the apps: to record the GIF I used LICECap and to show the keystrokes I used Carnac
Hi @byersiiasa could you provide a GIF to understands the behavior you’re experiencing (or maybe a reproducible example)? I tested on Windows and the shortcut seems like it’s working:
If you keep experiencing an issue maybe it could be worthy to open a new issue where you add more info about your setup (i.e OS, specific version, etc.) and the GIF or steps to reproduce the issue you’re facing 😃
That functionality was removed a couple of years ago and it’ll come back in Spyder 4.2 or 5, we’re still thinking about it.