conda update spyder
(or pip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
I just write "from keras.models import MinMaxScaler" and the console says "Using TensorFlow backend. Kernel died, restarting"
there should be no output
but the kernel died
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
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)
Does your code run in the Jupyter notebook?
No.
I have change the python version from 3.6 to 3.5, and the problem has disappeared. I do not know the reason.
Glad to know you were able to sort this problem out.
is that any approach can solve this problem except lower 3.6 to 3.5?
Most helpful comment
is that any approach can solve this problem except lower 3.6 to 3.5?