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.

Kernerl Restart Error

See original GitHub issue

Description

What steps will reproduce the problem?

I’m simply resarting the Kernel in the console. Same thing happens when I open a new console as well.

Traceback

INFO:spyder.plugins.ipythonconsole.utils.kernelspec:Kernel command: ['C:\\Users\\mg3146\\.conda\\envs\\fincad-env\\python.exe', '-m', 'spyder_kernels.console', '-f', '{connection_file}']

Versions

  • Spyder version: 5.3.3 (conda)
  • Python version: 3.8.13 64-bit
  • Qt version: 5.15.2
  • PyQt5 version: 5.15.7
  • Operating System: Windows 10

Dependencies

# Mandatory:
atomicwrites >=1.2.0          :  1.4.0 (OK)
chardet >=2.0.0               :  4.0.0 (OK)
cloudpickle >=0.5.0           :  2.0.0 (OK)
cookiecutter >=1.6.0          :  1.7.3 (OK)
diff_match_patch >=20181111   :  20200713 (OK)
intervaltree >=3.0.2          :  3.1.0 (OK)
IPython >=7.31.1;<8.0.0       :  7.31.1 (OK)
jedi >=0.17.2;<0.19.0         :  0.18.1 (OK)
jellyfish >=0.7               :  0.9.0 (OK)
jsonschema >=3.2.0            :  4.4.0 (OK)
keyring >=17.0.0              :  23.4.0 (OK)
nbconvert >=4.0               :  6.4.4 (OK)
numpydoc >=0.6.0              :  1.4.0 (OK)
paramiko >=2.4.0              :  2.8.1 (OK)
parso >=0.7.0;<0.9.0          :  0.8.3 (OK)
pexpect >=4.4.0               :  4.8.0 (OK)
pickleshare >=0.4             :  0.7.5 (OK)
psutil >=5.3                  :  5.9.0 (OK)
pygments >=2.0                :  2.11.2 (OK)
pylint >=2.5.0;<3.0           :  2.14.5 (OK)
pyls_spyder >=0.4.0           :  0.4.0 (OK)
pylsp >=1.5.0;<1.6.0          :  1.5.0 (OK)
pylsp_black >=1.2.0           :  1.2.1 (OK)
qdarkstyle >=3.0.2;<3.1.0     :  3.0.2 (OK)
qstylizer >=0.1.10            :  0.1.10 (OK)
qtawesome >=1.0.2             :  1.0.3 (OK)
qtconsole >=5.3.2;<5.4.0      :  5.3.2 (OK)
qtpy >=2.1.0                  :  2.2.0 (OK)
rtree >=0.9.7                 :  0.9.7 (OK)
setuptools >=49.6.0           :  63.4.1 (OK)
sphinx >=0.6.6                :  5.0.2 (OK)
spyder_kernels >=2.3.3;<2.4.0 :  2.3.3 (OK)
textdistance >=4.2.0          :  4.2.1 (OK)
three_merge >=0.1.1           :  0.1.1 (OK)
watchdog >=0.10.3             :  2.1.6 (OK)
zmq >=22.1.0                  :  23.2.0 (OK)

# Optional:
cython >=0.21                 :  None (NOK)
matplotlib >=3.0.0            :  3.5.1 (OK)
numpy >=1.7                   :  1.21.2 (OK)
pandas >=1.1.1                :  1.3.3 (OK)
scipy >=0.17.0                :  1.7.3 (OK)
sympy >=0.7.3                 :  None (NOK)

Environment

Environment
# packages in environment at C:\Users\mg3146\.conda\envs\fincad-env:
#
# Name                    Version                   Build  Channel
alabaster                 0.7.12             pyhd3eb1b0_0  
antlr4-python3-runtime    4.8                      pypi_0    pypi
anyio                     3.5.0            py38haa95532_0  
argon2-cffi               21.3.0             pyhd3eb1b0_0  
argon2-cffi-bindings      21.2.0           py38h2bbff1b_0  
arrow                     1.2.2              pyhd3eb1b0_0  
astroid                   2.11.7           py38haa95532_0  
atomicwrites              1.4.0                      py_0  
attrs                     22.1.0                   pypi_0    pypi
autopep8                  1.6.0              pyhd3eb1b0_1  
babel                     2.9.1              pyhd3eb1b0_0  
backcall                  0.2.0              pyhd3eb1b0_0  
bcrypt                    3.2.0            py38h2bbff1b_1  
beautifulsoup4            4.11.1           py38haa95532_0  
bidict                    0.21.2             pyhd3eb1b0_0  
binaryornot               0.4.4              pyhd3eb1b0_1  
black                     22.6.0           py38haa95532_0  
bleach                    4.1.0              pyhd3eb1b0_0  
blpapi                    3.18.3                   pypi_0    pypi
boto3                     1.18.63                  pypi_0    pypi
botocore                  1.21.63                  pypi_0    pypi
brotlipy                  0.7.0           py38h2bbff1b_1003  
bs4                       0.0.1                    pypi_0    pypi
ca-certificates           2022.07.19           haa95532_0  
cachetools                4.2.4                    pypi_0    pypi
certifi                   2021.10.8                pypi_0    pypi
cffi                      1.15.0                   pypi_0    pypi
chardet                   4.0.0           py38haa95532_1003  
charset-normalizer        2.0.7                    pypi_0    pypi
click                     8.0.4            py38haa95532_0  
cloudpickle               2.0.0              pyhd3eb1b0_0  
colorama                  0.4.5            py38haa95532_0  
convertdate               2.4.0                    pypi_0    pypi
cookiecutter              1.7.3              pyhd3eb1b0_0  
cryptography              35.0.0                   pypi_0    pypi
cycler                    0.10.0                   pypi_0    pypi
debugpy                   1.5.1            py38hd77b12b_0  
decorator                 5.1.1              pyhd3eb1b0_0  
defusedxml                0.7.1              pyhd3eb1b0_0  
diff-match-patch          20200713           pyhd3eb1b0_0  
dill                      0.3.4              pyhd3eb1b0_0  
docutils                  0.15.2                   pypi_0    pypi
entrypoints               0.4              py38haa95532_0  
fincad-analytics-core     2022.9.9+9b07324          pypi_0    pypi
fincad-analytics-suite    2022.0.3                 pypi_0    pypi
fincad-f3                 2022.9.9+9b07324          pypi_0    pypi
fincad-f3-core            10.4.0.202               pypi_0    pypi
fincad-logger             2022.9.9+9b07324          pypi_0    pypi
fincad-market-data        2022.9.9+9b07324          pypi_0    pypi
flake8                    4.0.1              pyhd3eb1b0_1  
fonttools                 4.28.5                   pypi_0    pypi
gitdb                     4.0.7                    pypi_0    pypi
gitpython                 3.1.24                   pypi_0    pypi
glib                      2.69.1               h5dc1a3c_1  
gprof2dot                 2021.2.21                pypi_0    pypi
greenlet                  1.1.2                    pypi_0    pypi
gst-plugins-base          1.18.5               h9e645db_0  
gstreamer                 1.18.5               hd78058f_0  
hijri-converter           2.2.4                    pypi_0    pypi
holidays                  0.16                     pypi_0    pypi
icu                       58.2                 ha925a31_3  
idna                      3.3                pyhd3eb1b0_0  
imagesize                 1.4.1            py38haa95532_0  
importlib-metadata        4.2.0                    pypi_0    pypi
importlib-resources       5.4.0                    pypi_0    pypi
importlib_metadata        4.11.3               hd3eb1b0_0  
importlib_resources       5.2.0              pyhd3eb1b0_1  
inflection                0.5.1            py38haa95532_0  
iniconfig                 1.1.1                    pypi_0    pypi
intervaltree              3.1.0              pyhd3eb1b0_0  
ipykernel                 6.15.2           py38haa95532_0  
ipynb-py-convert          0.4.6                    pypi_0    pypi
ipython                   7.31.1           py38haa95532_1  
ipython_genutils          0.2.0              pyhd3eb1b0_1  
isort                     5.9.3              pyhd3eb1b0_0  
jedi                      0.18.1           py38haa95532_1  
jellyfish                 0.9.0            py38h2bbff1b_0  
jinja2                    3.0.3              pyhd3eb1b0_0  
jinja2-time               0.2.0              pyhd3eb1b0_3  
jmespath                  0.10.0                   pypi_0    pypi
jpeg                      9e                   h2bbff1b_0  
json5                     0.9.6              pyhd3eb1b0_0  
jsonschema                4.4.0            py38haa95532_0  
jupyter_client            7.3.5            py38haa95532_0  
jupyter_core              4.10.0           py38haa95532_0  
jupyter_server            1.18.1           py38haa95532_0  
jupyterlab                3.4.4            py38haa95532_0  
jupyterlab_pygments       0.1.2                      py_0  
jupyterlab_server         2.12.0           py38haa95532_0  
keyring                   23.4.0           py38haa95532_0  
kiwisolver                1.3.2                    pypi_0    pypi
korean-lunar-calendar     0.3.1                    pypi_0    pypi
lazy-object-proxy         1.6.0            py38h2bbff1b_0  
libclang                  12.0.0          default_h627e005_2  
libffi                    3.4.2                hd77b12b_4  
libiconv                  1.16                 h2bbff1b_2  
libogg                    1.3.5                h2bbff1b_1  
libpng                    1.6.37               h2a8f88b_0  
libsodium                 1.0.18               h62dcd97_0  
libspatialindex           1.9.3                h6c2663c_0  
libvorbis                 1.3.7                he774522_0  
libwebp                   1.2.2                h2bbff1b_0  
libxml2                   2.9.14               h0ad7f3c_0  
libxslt                   1.1.35               h2bbff1b_0  
line_profiler             3.3.1            py38h59b6b97_0  
lz4-c                     1.9.3                h2bbff1b_1  
mako                      1.1.5                    pypi_0    pypi
markupsafe                2.0.1                    pypi_0    pypi
matplotlib                3.5.1                    pypi_0    pypi
matplotlib-inline         0.1.6            py38haa95532_0  
mccabe                    0.7.0              pyhd3eb1b0_0  
mistune                   0.8.4           py38he774522_1000  
mypy_extensions           0.4.3            py38haa95532_1  
nbclassic                 0.3.5              pyhd3eb1b0_0  
nbclient                  0.5.13           py38haa95532_0  
nbconvert                 6.4.4            py38haa95532_0  
nbformat                  5.5.0            py38haa95532_0  
nest-asyncio              1.5.5            py38haa95532_0  
networkx                  2.6.3                    pypi_0    pypi
notebook                  6.4.12           py38haa95532_0  
numpy                     1.21.2                   pypi_0    pypi
numpydoc                  1.4.0            py38haa95532_0  
omegaconf                 2.1.1                    pypi_0    pypi
openssl                   1.1.1q               h2bbff1b_0  
packaging                 21.3               pyhd3eb1b0_0  
pandas                    1.3.3                    pypi_0    pypi
pandocfilters             1.5.0              pyhd3eb1b0_0  
paramiko                  2.10.1                   pypi_0    pypi
parso                     0.8.3              pyhd3eb1b0_0  
pathspec                  0.9.0            py38haa95532_0  
pcre                      8.45                 hd77b12b_0  
pexpect                   4.8.0              pyhd3eb1b0_3  
pickleshare               0.7.5           pyhd3eb1b0_1003  
pillow                    9.0.1                    pypi_0    pypi
pip                       22.1.2           py38haa95532_0  
platformdirs              2.5.2            py38haa95532_0  
pluggy                    1.0.0            py38haa95532_1  
ply                       3.11                     py38_0  
powershell_shortcut       0.0.1                         3  
poyo                      0.5.0              pyhd3eb1b0_0  
prometheus_client         0.14.1           py38haa95532_0  
prompt-toolkit            3.0.20             pyhd3eb1b0_0  
psutil                    5.9.0            py38h2bbff1b_0  
psycopg2-binary           2.9.1                    pypi_0    pypi
ptyprocess                0.7.0              pyhd3eb1b0_2  
py                        1.11.0                   pypi_0    pypi
pyarrow                   9.0.0                    pypi_0    pypi
pycodestyle               2.8.0              pyhd3eb1b0_0  
pycountry                 20.7.3                   pypi_0    pypi
pycparser                 2.20                     pypi_0    pypi
pydantic                  1.9.0                    pypi_0    pypi
pydocstyle                6.1.1              pyhd3eb1b0_0  
pydot                     1.4.2                    pypi_0    pypi
pyflakes                  2.4.0              pyhd3eb1b0_0  
pygments                  2.11.2             pyhd3eb1b0_0  
pylint                    2.14.5           py38haa95532_0  
pyls-spyder               0.4.0              pyhd3eb1b0_0  
pymeeus                   0.5.11                   pypi_0    pypi
pymongo                   3.12.0           py38hd77b12b_0  
pynacl                    1.4.0                    pypi_0    pypi
pyopenssl                 22.0.0             pyhd3eb1b0_0  
pyparsing                 2.4.7                    pypi_0    pypi
pyqt                      5.15.7           py38hd77b12b_0  
pyqt5-sip                 12.11.0          py38hd77b12b_0  
pyqtwebengine             5.15.7           py38hd77b12b_0  
pyrsistent                0.18.0           py38h196d8e1_0  
pysftp                    0.2.9                    pypi_0    pypi
pysocks                   1.7.1            py38haa95532_0  
pytest                    7.1.3                    pypi_0    pypi
python                    3.8.13               h6244533_0  
python-dateutil           2.8.2              pyhd3eb1b0_0  
python-fastjsonschema     2.16.2           py38haa95532_0  
python-lsp-black          1.2.1            py38haa95532_0  
python-lsp-jsonrpc        1.0.0              pyhd3eb1b0_0  
python-lsp-server         1.5.0            py38haa95532_0  
python-slugify            5.0.2              pyhd3eb1b0_0  
pytz                      2021.3                   pypi_0    pypi
pywin32                   302              py38h2bbff1b_2  
pywin32-ctypes            0.2.0                 py38_1000  
pywinpty                  2.0.2            py38h5da7b33_0  
pyxll                     5.4.4                    pypi_0    pypi
pyyaml                    6.0                      pypi_0    pypi
pyzmq                     23.2.0           py38hd77b12b_0  
qdarkstyle                3.0.2              pyhd3eb1b0_0  
qstylizer                 0.1.10             pyhd3eb1b0_0  
qt-main                   5.15.2               he8e5bd7_7  
qt-webengine              5.15.9               hb9a9bb5_4  
qtawesome                 1.0.3              pyhd3eb1b0_0  
qtconsole                 5.3.2            py38haa95532_0  
qtpy                      2.2.0            py38haa95532_0  
qtwebkit                  5.212                h3ad3cdb_4  
requests                  2.26.0                   pypi_0    pypi
rope                      0.22.0             pyhd3eb1b0_0  
rtree                     0.9.7            py38h2eaa2aa_1  
ruamel-yaml               0.17.21                  pypi_0    pypi
ruamel-yaml-clib          0.2.6                    pypi_0    pypi
s3transfer                0.5.0                    pypi_0    pypi
scipy                     1.7.3                    pypi_0    pypi
send2trash                1.8.0              pyhd3eb1b0_1  
setuptools                63.4.1           py38haa95532_0  
sip                       6.6.2            py38hd77b12b_0  
six                       1.16.0             pyhd3eb1b0_1  
smmap                     4.0.0                    pypi_0    pypi
sniffio                   1.2.0            py38haa95532_1  
snowballstemmer           2.2.0              pyhd3eb1b0_0  
sortedcontainers          2.4.0              pyhd3eb1b0_0  
soupsieve                 2.3.2.post1              pypi_0    pypi
sphinx                    5.0.2            py38haa95532_0  
sphinxcontrib-applehelp   1.0.2              pyhd3eb1b0_0  
sphinxcontrib-devhelp     1.0.2              pyhd3eb1b0_0  
sphinxcontrib-htmlhelp    2.0.0              pyhd3eb1b0_0  
sphinxcontrib-jsmath      1.0.1              pyhd3eb1b0_0  
sphinxcontrib-qthelp      1.0.3              pyhd3eb1b0_0  
sphinxcontrib-serializinghtml 1.1.5              pyhd3eb1b0_0  
spyder                    5.3.3            py38haa95532_0  
spyder-kernels            2.3.3            py38haa95532_0  
spyder-line-profiler      0.3.0              pyh6c4a22f_0    spyder-ide
spyder-notebook           0.1.4                      py_0    spyder-ide
sqlalchemy                1.4.25                   pypi_0    pypi
sqlite                    3.39.2               h2bbff1b_0  
tenacity                  8.0.1                    pypi_0    pypi
terminado                 0.13.1           py38haa95532_0  
testpath                  0.6.0            py38haa95532_0  
text-unidecode            1.3                pyhd3eb1b0_0  
textdistance              4.2.1              pyhd3eb1b0_0  
texttable                 1.6.4                    pypi_0    pypi
three-merge               0.1.1              pyhd3eb1b0_0  
tinycss                   0.4             pyhd3eb1b0_1002  
toml                      0.10.2             pyhd3eb1b0_0  
tomli                     2.0.1            py38haa95532_0  
tomlkit                   0.11.1           py38haa95532_0  
tornado                   6.2              py38h2bbff1b_0  
traitlets                 5.1.1              pyhd3eb1b0_0  
typing-extensions         3.10.0.2                 pypi_0    pypi
typing_extensions         4.3.0            py38haa95532_0  
ujson                     5.4.0            py38hd77b12b_0  
unidecode                 1.2.0              pyhd3eb1b0_0  
urllib3                   1.26.7                   pypi_0    pypi
vc                        14.2                 h21ff451_1  
vs2015_runtime            14.27.29016          h5e58377_2  
watchdog                  2.1.6            py38haa95532_0  
wcwidth                   0.2.5              pyhd3eb1b0_0  
webencodings              0.5.1                    py38_1  
websocket-client          0.58.0           py38haa95532_4  
whatthepatch              1.0.2            py38haa95532_0  
wheel                     0.37.1             pyhd3eb1b0_0  
win_inet_pton             1.1.0            py38haa95532_0  
wincertstore              0.2              py38haa95532_2  
winpty                    0.4.3                         4  
wrapt                     1.14.1           py38h2bbff1b_0  
xbbg                      0.7.7                    pypi_0    pypi
xmltodict                 0.12.0                   pypi_0    pypi
yaml                      0.2.5                he774522_0  
yapf                      0.31.0             pyhd3eb1b0_0  
zeromq                    4.3.4                hd77b12b_0  
zipp                      3.7.0                    pypi_0    pypi
zlib                      1.2.12               h8cc25b3_3  
zstd                      1.5.2                h19a0ad4_0  

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
mg3146commented, Oct 3, 2022

I actually (for an unrelated reason) did a big conda-forge update (to get Spyder-notebook to run) - and this seems to have fixed the problem! I’ll let you know if it pops up again. Thx for the help!

0reactions
dalthvizcommented, Oct 3, 2022

Awesome @mg3146 ! Glad updating things helped. I then will close this issue but yes, if you experience again the issue, let us know!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jupyter | The kernel appears to have died. It will restart ...
In my case, the error was caused due to an issue with hdf5(Version mismatch) library which suggests that whenver kernel dies unexpectedly ...
Read more >
The kernel appears to have died. It will restart automatically ...
Its possible you are using some package thats gettig called in the 3rd cell thats causing the kernel to die. Does this issue...
Read more >
The kernel appears to have died
But today when I login in and would like to run it again, I kept receiving the error message "The kernel appears to...
Read more >
If your Mac restarts and a message appears
If your Mac restarts unexpectedly, an error known as a kernel panic occurred, and a message indicates that your computer restarted because of...
Read more >
How to Fix Kernel Error in Jupyter Notebook
A kernel error occurs basically when you try opening a python 3 file in the wrong directory. The truth is Jupyter and Python...
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