question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Run cell (ctrl+Enter) don't work in Spyder inatalled with the Anaconda

See original GitHub issue

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 (or pip, 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?

  1. Using the “ctrl + enter” command on relevant code in the editor.
  2. print() seems not to work.
  3. 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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:24 (10 by maintainers)

github_iconTop GitHub Comments

5reactions
oneforall-sharedcommented, Mar 20, 2020

2020-03-20_234934

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.

ddd

5reactions
ccordoba12commented, Sep 10, 2019

No, individual lines are run with F9.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Anaconda Spyder shortcuts Ctrl+Enter and Shift+Enter are not ...
First, the shortcuts do not work. For instance: Run Cell = CTRL + ENTER and Run Cell and Advance is SHIFT + ENTER...
Read more >
runcell(0' c /users..)ISSUE |HOW TO FIX RUN CELL HOTKEY ...
Hello EveryoneIn this video, ill be discussing a very common issue faces by a lot of programmers while using the latest version of...
Read more >
Spyder Keyboard Shortcuts for the Editor under Windows
Ctrl + Q. Quit Spyder. Keyboard Shortcuts for Navigation. Ctrl + L. Go to line ... Profile. Ctrl + Enter. Run cell. Shift...
Read more >
How to use the R programming language in Jupyter Notebook
To run the code, in the menu bar, click Cell then select Run Cells, or use the keyboard shortcut Ctrl-Enter. The iris data...
Read more >
Anaconda Spyder shortcuts Ctrl+Enter and Shift+Enter are not ...
First, the shortcuts do not work. For instance: Run Cell = CTRL + ENTER and Run Cell and Advance is SHIFT + ENTER...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found