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.

A Python background process stays opened after closing Spyder in master

See original GitHub issue

Issue Report Checklist

  • Searched the issues page for similar reports
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

After opening Spyder in master with the bootstrap.py or from the Anaconda navigator and closing it, a Python process remains opened in Windows. Introspection becomes broken by this until I close these background processes and restart Spyder. So this is probably related with the problems I reported in Issue #7726.

Note that this is not occurring with the 3.x branch.

image

What steps reproduce the problem?

  1. Open Spyder
  2. Close Spyder

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

All Python processes started by Spyder should be closed

Versions

Dependencies

pyflakes >=0.6.0  :  1.6.0 (OK)
pycodestyle >=2.3 :  2.3.1 (OK)
pygments >=2.0    :  2.2.0 (OK)
sphinx >=0.6.6    :  1.7.1 (OK)
rope >=0.9.4      :  0.10.7 (OK)
jedi >=0.11.0     :  0.12.1 (OK)
nbconvert >=4.0   :  5.3.1 (OK)
pandas >=0.13.1   :  0.22.0 (OK)
numpy >=1.7       :  1.13.0 (OK)
sympy >=0.7.3     :  1.1.1 (OK)
cython >=0.21     :  0.27.3 (OK)
qtconsole >=4.2.0 :  4.3.1 (OK)
IPython >=4.0     :  6.2.1 (OK)
matplotlib >=2.0.0:  2.2.0 (OK)
pylint >=0.25     :  1.8.3 (OK)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:25 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
CAM-Gerlachcommented, Dec 10, 2018

I have been able to, although it doesn’t always make completion stop working at least in my limited testing.

0reactions
ccordoba12commented, Oct 24, 2019

I indeed have had 3 processes stick around indefinitely each time after Spyder crashes

For the record, this is being worked on in PR #10111.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spyder IDE creates too many python background processes
After updating from Spyder 2 to 3 when I start it I see that it creates several python background processes. This wasn't happening...
Read more >
In Python, when I run my program, it closes right away ... - Quora
My usual way to work with console apps: open a terminal window, and invoke your program from the command line. Yes, you will...
Read more >
Python for Finance Tutorial: Algorithmic Trading - DataCamp
Learn how to use Python for finance. Follow our tutorial and learn about algorithmic trading, time series data, and other common financial analysis...
Read more >
Qt Designer and Python: Build Your GUI Applications Faster
In this step-by-step tutorial, you'll learn how to use Qt Designer to create GUIs from your windows and dialogs and use them in...
Read more >
Resolved: Matplotlib figures not showing up or displaying
Ever try to plot a matplotlib figure and not have it display to your screen? I'll show you how to fix when matplotlib...
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