Cannot Connect to Kernel
See original GitHub issueDescription
What steps will reproduce the problem?
All of a sudden, Spyder cannot connect to the kernel:
Versions
- Spyder version: 3.3.3
- Python version: 3.7.2
- Qt version: 5.9.6
- PyQt5 version: 5.9.2
- Operating System: Windows 10
Dependencies
pyflakes >=0.6.0 : 2.1.1 (OK)
pycodestyle >=2.3 : 2.5.0 (OK)
pygments >=2.0 : 2.3.1 (OK)
sphinx >=0.6.6 : 1.8.5 (OK)
rope >=0.9.4 : 0.12.0 (OK)
jedi >=0.9.0 : 0.13.3 (OK)
nbconvert >=4.0 : 5.4.1 (OK)
pandas >=0.13.1 : 0.24.2 (OK)
numpy >=1.7 : 1.16.2 (OK)
sympy >=0.7.3 : 1.3 (OK)
cython >=0.21 : 0.29.6 (OK)
qtconsole >=4.2.0 : 4.4.3 (OK)
IPython >=4.0 : 7.3.0 (OK)
matplotlib >=2.0.0: 3.0.3 (OK)
pylint >=0.25 : 2.3.1 (OK)
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Jupyter Notebook - Cannot Connect to Kernel - Stack Overflow
I've tried installing jupyter notebook using pip3 install jupyter. Every time i launch a new jupyter notebook, the notebook is unable to connect...
Read more >How to Fix Kernel Error in Jupyter Notebook
1. Access the back-end of the tool. · 2. Open Base Environment and select your directory. · 3. Create another environment for your...
Read more >Jupyter Notebook Kernel Not Connecting: Connection Failed
I am facing the same issue:- A connection to the notebook server cannot be established. This is my Notebook Console output:- [I 20:42:22.292 ......
Read more >How to fix Kernel Error or broken Python in Jupyter Notebook
TL;DW BELOW! If you delete or upgrade your python version, you might get a Kernel Error when trying to use Jupyter Notebooks!
Read more >My notebook doesn't connect to the kernel - General
I have been trying to use jupyter on my virtual desktop, but my notebook is not capable to connect to the kernel. I...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Look, the contents of that file are these:
https://github.com/spyder-ide/spyder-kernels/blob/0.x/spyder_kernels/customize/spydercustomize.py
which obviously differ a lot from the contents you posted above. And I can assure you Anaconda is not distributing that file with the wrong contents.
So if you didn’t modify that file manually, then your computer is touching it somehow because there’s no other explanation.
Ok, sorry but I’m going to close this issue because I guess there’s something really wrong with your computer given all the problems you reported.
Besides, in your last screenshot I can clearly see you reinstalled Anaconda as Administrator instead of doing it only for your current user (against my previous advice). So my last advice is to remove Anaconda again and install it for your user.
You keep saying I modified the contents of that file. I didn’t modify anything. I was just doing an online tutorial at Python.org and then the issue started.
In any case, I’ve unisntalled and reinstalled Anaconda numerous times. Now, it won’t update Spyder. No matter which method I use, it just sits there doing nothing while the system CPU goes really high and, stays there:
https://imgur.com/a/MWrKjaD
I know it is an Ananconda issue, but there are just so many that I’m just not interested in spending hours reporting all of them.