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.

Spyder pausing/lagging for about 8 seconds before running inline

See original GitHub issue

Problem Description

2 week following a fresh install of Anaconda on new PC, Spyder console started pausing for several seconds before returning results of executed code.

For example: In console I type in “1+1” and hit enter I get back “2” after about 5 seconds.

If I hit the “stop the current command” button I get the results back immediately. If I run the same script/code from python in windows cmd or in Atom it runs as expected.

I have tried reboot, killing nonessential processes, reinstalling Anaconda, reinstalling python and Spyder only with no success.

What steps will reproduce the problem?

  1. Running code in console with any level of complexity - example “1+1”
  2. Running code using run file button or F5
  3. Running one line of code from file or F9

What is the expected output? What do you see instead?

I expect output. I see 5 second lag before output

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Package Versions

  • Spyder: 3.2.8
  • Python: 3.6.5 64bits
  • Qt: 5.9.3
  • PyQt: 5.9.2
  • Operating System: Windows 7 Enterprise 64-bit

Dependencies

PASTE DEPENDENCIES HERE

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
hardidicommented, Feb 5, 2021

Not sure if replying here works. Using Windows’ default antivirus fixed the issue for me. Sorry for forgetting to update this topic.

On Fri, Feb 5, 2021, 11:34 AM stud-many notifications@github.com wrote:

I have exactly the same issue with Spyder lagging for up to 20 seconds or so. Using F5 key or pressing the Play-Button results in the lag. iPython-console and everything else works fine.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/6953#issuecomment-774244214, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ5WZPZH3IWYPXEPV5UBKCLS5RB53ANCNFSM4E2JVNMA .

1reaction
badlyanscommented, Apr 22, 2018

Yes, They updated my Dell encryption software which helped a bit and when we disabled Symantec the lagging was greatly improved. Obviously that was just a test and we can’t leave that feature off so when I have time I will delete my windows profile and create a new one. Thanks again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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