Spyder process does not terminate on Windows 10
See original GitHub issueProblem Description
After closing Spyder on Windows 10 the process does not terminate and remains in the process manager (I’m using System Explorer here).
After starting Spyder the process tree looks like this:
pythonw.exe C:\Users\...\anaconda3\Scripts\spyder-script.py
pythonw.exe C:\Users\...\anaconda3\Scripts\spyder-script.py
pythonw.exe -u plugin_server.py 54329 fallback
pythonw.exe -u plugin_server.py 54320 jedi
pythonw.exe -u plugin_server.py 54311 rope
pythonw.exe -u plugin_server.py 54329 fallback
When quitting the application the four plugin_server.py instances are terminated, but the spyder-script.py
instance remains and has to be terminated manually in the process manager.
Starting a new Spyder instance while the old one is still there starts a completely new process tree, after quitting Spyder again now two zombie instances remain. Interestingly the second process I had started is displaying the following parameters in System Explorer: 0 764 768 776 8192 772
The first process does not display any parameters. Maybe that helps in some way.
When started using Anaconda Navigator, Navigator will detect Spyder still running when quitting Navigator and ask you it should terminate it.
Package Versions
- Spyder: 3.2.7
- Python: 3.6.4
- Qt: 5.6.2
- PyQt: 5.6
- Operating System: Windows 10
Dependencies
IPython >=4.0 : 6.2.1 (OK)
cython >=0.21 : 0.27.3 (OK)
jedi >=0.9.0 : 0.11.1 (OK)
nbconvert >=4.0 : 5.3.1 (OK)
numpy >=1.7 : 1.14.1 (OK)
pandas >=0.13.1 : 0.22.0 (OK)
pycodestyle >=2.3: 2.3.1 (OK)
pyflakes >=0.6.0 : 1.6.0 (OK)
pygments >=2.0 : 2.2.0 (OK)
pylint >=0.25 : 1.8.2 (OK)
qtconsole >=4.2.0: 4.3.1 (OK)
rope >=0.9.4 : 0.10.7 (OK)
sphinx >=0.6.6 : 1.7.1 (OK)
sympy >=0.7.3 : 1.1.1 (OK)
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (8 by maintainers)
Until last update it seemed to happen occassionally, I only noticed when Anaconda Navigator was notifying me and usually that was because I was trying to close it down directly after Spyder. Waiting a bit would solve the problem. But now after the latest update the process is staying there even minutes after exiting the window. Right now it seems to always happen.
I do have a variable explorer tab in my setup (not a separate window) but I was expecting that when I’m closing down Spyder the console also closes down and with it the variable explorer.
The only unusual about my system is that it’s a company system and some settings can’t be changed by myself. Also Kaspersky Endpoint Security 10 is running on here.
I will try out your suggestions and come back to here later.
Thanks