Using Tensorflow Backend and Kernel died, restarting
See original GitHub issueIssue 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
(orpip
, 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
I just write “from keras.models import MinMaxScaler” and the console says “Using TensorFlow backend. Kernel died, restarting”
What steps reproduce the problem?
- try to run the python file with only one piece of command
What is the expected output? What do you see instead?
there should be no output but the kernel died
Paste Traceback/Error Below (if applicable)
runfile('C:/Users/Charles/.spyder-py3/temp.py', wdir='C:/Users/Charles/.spyder-py3')
Using TensorFlow backend.
Kernel died, restarting
Populating the interactive namespace from numpy and matplotlib
runfile('C:/Users/xxx/.spyder-py3/temp.py', wdir='C:/Users/xxx/.spyder-py3')
Using TensorFlow backend.
Kernel died, restarting
Versions
- Spyder version: 3.2.3
- Python version: 3.6.2
- Qt version: 5.6.2
- PyQt version: 5.6.0
- Operating System name/version: Windows 10
Dependencies
IPython >=4.0 : 6.1.0 (OK)
cython >=0.21 : None (NOK)
jedi >=0.9.0 : 0.10.2 (OK)
nbconvert >=4.0 : 5.2.1 (OK)
numpy >=1.7 : 1.13.1 (OK)
pandas >=0.13.1 : 0.20.3 (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.7.2 (OK)
qtconsole >=4.2.0: 4.3.1 (OK)
rope >=0.9.4 : 0.9.4-1 (OK)
sphinx >=0.6.6 : 1.6.3 (OK)
sympy >=0.7.3 : None (NOK)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
M1 tensorflow - kernel appears to have died. It will restart ...
hi all, when i download the Mac-optimized TensorFlow, it showed the jupyter 'kernel appears to have died. It will restart automatically' ...
Read more >Python kernel dies on Jupyter Notebook with tensorflow 2
in your terminal(shell). Restart your kernel in jupyter notebook.this should work. 3.Reinstall numpy (if needed) If you encounter any problem in ...
Read more >The kernel appears to have died | Data Science and ... - Kaggle
The problem arises in the loop over training epochs. TensorFlow is set up to load the OpenMP library multiple times, which will cause...
Read more >Kernel Died error post installing tensorflow - Apple Developer
I m facing huge problem with Jupyter notebook post installing tensorflow as the kernel keeps dying and I have literally tried solution in...
Read more >The kernel appears to have died. It will restart automatically
Hi,. Need some help. i'm stuck with the message of "The kernel appears to have died. It will restart automatically.
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
is that any approach can solve this problem except lower 3.6 to 3.5?
My code still doesn’t run even after lowering the version to 3.5. Help me if you found any solution for this.