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.

Can't start spyder-kernel after upgraded

See original GitHub issue

I just upgrade my Spyder to 5.2.2 and it can’t start the kernel.

image

I have tried several ways to fix this, but all in vain. I create a new env but the error still occurs. I have also install spyder‑kernels=2.2 through conda-forge, but not helpful.

I use MacbookPro with intel chip.

Conda list

(new1) ivan@MacBookPro-0026-1 ~ % conda list
# packages in environment at /opt/miniconda3/envs/new1:
#
# Name                    Version                   Build  Channel
ansi2html                 1.7.0            py39h6e9494a_0    conda-forge
anyio                     3.5.0            py39hecd8cb5_0  
appnope                   0.1.2           py39hecd8cb5_1001  
argon2-cffi               21.3.0             pyhd3eb1b0_0  
argon2-cffi-bindings      21.2.0           py39hca72f7f_0  
async_generator           1.10               pyhd3eb1b0_0  
attrs                     21.4.0             pyhd3eb1b0_0  
babel                     2.9.1              pyhd3eb1b0_0  
backcall                  0.2.0              pyhd3eb1b0_0  
beautifulsoup4            4.10.0             pyh06a4308_0  
blas                      1.0                         mkl  
bleach                    4.1.0              pyhd3eb1b0_0  
boto                      2.49.0           py39hecd8cb5_0  
boto3                     1.20.24            pyhd3eb1b0_0  
botocore                  1.23.24            pyhd3eb1b0_0  
bottleneck                1.3.2            py39he3068b8_1  
brotli                    1.0.9                hb1e8313_2  
brotli-python             1.0.9            py39h9fcab8e_6    conda-forge
brotlipy                  0.7.0           py39h9ed2024_1003  
bz2file                   0.98             py39hecd8cb5_1  
ca-certificates           2021.10.8            h033912b_0    conda-forge
catalogue                 1.0.0              pyhd3eb1b0_0  
certifi                   2021.10.8        py39h6e9494a_1    conda-forge
cffi                      1.15.0           py39hc55c11b_1  
charset-normalizer        2.0.4              pyhd3eb1b0_0  
click                     8.0.3              pyhd3eb1b0_0  
cloudpickle               2.0.0              pyhd3eb1b0_0  
cryptography              36.0.0           py39hf6deb26_0  
cycler                    0.11.0             pyhd3eb1b0_0  
cymem                     2.0.5            py39h23ab428_0  
cython                    0.29.23          py39h23ab428_0  
cython-blis               0.7.4            py39h9ed2024_1  
dash                      2.2.0              pyhd8ed1ab_0    conda-forge
debugpy                   1.5.1            py39he9d5cce_0  
decorator                 5.1.1              pyhd3eb1b0_0  
defusedxml                0.7.1              pyhd3eb1b0_0  
en-core-web-md            2.3.1                    pypi_0    pypi
en-core-web-sm            2.3.1                    pypi_0    pypi
entrypoints               0.3              py39hecd8cb5_0  
et_xmlfile                1.1.0            py39hecd8cb5_0  
flask                     2.0.3              pyhd8ed1ab_0    conda-forge
flask-compress            1.10.1             pyhd8ed1ab_0    conda-forge
fonttools                 4.25.0             pyhd3eb1b0_0  
freetype                  2.11.0               hd8bbffd_0  
funcy                     1.17               pyhd8ed1ab_0    conda-forge
future                    0.18.2           py39hecd8cb5_1  
gensim                    4.0.1            py39h23ab428_0  
giflib                    5.2.1                haf1e3a3_0  
html5lib                  1.1                pyhd3eb1b0_0  
icu                       58.2                 h0a44026_3  
idna                      3.3                pyhd3eb1b0_0  
importlib-metadata        4.8.2            py39hecd8cb5_0  
importlib_metadata        4.8.2                hd3eb1b0_0  
intel-openmp              2021.4.0          hecd8cb5_3538  
ipykernel                 5.5.5            py39h71a6800_0    conda-forge
ipython                   7.31.1           py39hecd8cb5_0  
ipython_genutils          0.2.0              pyhd3eb1b0_1  
itsdangerous              2.1.0              pyhd8ed1ab_0    conda-forge
jedi                      0.18.1           py39hecd8cb5_1  
jinja2                    3.0.2              pyhd3eb1b0_0  
jmespath                  0.10.0             pyhd3eb1b0_0  
joblib                    1.1.0              pyhd3eb1b0_0  
jpeg                      9d                   h9ed2024_0  
json5                     0.9.6              pyhd3eb1b0_0  
jsonschema                3.0.2            py39hecd8cb5_0  
jupyter-dash              0.4.0              pyhd8ed1ab_0    conda-forge
jupyter_client            7.1.2              pyhd3eb1b0_0  
jupyter_core              4.9.1            py39hecd8cb5_0  
jupyter_server            1.13.5             pyhd3eb1b0_0  
jupyterlab                3.2.9              pyhd3eb1b0_0  
jupyterlab_pygments       0.1.2                      py_0  
jupyterlab_server         2.10.3             pyhd3eb1b0_1  
jupyterthemes             0.20.0                     py_1    conda-forge
kiwisolver                1.3.2            py39he9d5cce_0  
lcms2                     2.12                 hf1fd2bf_0  
lesscpy                   0.15.0             pyhd8ed1ab_0    conda-forge
libcxx                    12.0.0               h2f01273_0  
libffi                    3.3                  hb1e8313_2  
libgfortran               3.0.1                h93005f0_2  
libiconv                  1.16                 h1de35cc_0  
libpng                    1.6.37               ha441bb4_0  
libsodium                 1.0.18               h1de35cc_0  
libtiff                   4.2.0                h87d7836_0  
libwebp                   1.2.0                hacca55c_0  
libwebp-base              1.2.0                h9ed2024_0  
libxml2                   2.9.12               hcdb78fc_0  
libxslt                   1.1.34               h83b36ba_0  
lxml                      4.7.1            py39h65b224f_1  
lz4-c                     1.9.3                h23ab428_1  
markupsafe                2.0.1            py39h9ed2024_0  
matplotlib                3.5.0            py39hecd8cb5_0  
matplotlib-base           3.5.0            py39h4f681db_0  
matplotlib-inline         0.1.2              pyhd3eb1b0_2  
mistune                   0.8.4           py39h9ed2024_1000  
mkl                       2021.4.0           hecd8cb5_637  
mkl-service               2.4.0            py39h9ed2024_0  
mkl_fft                   1.3.1            py39h4ab4a9b_0  
mkl_random                1.2.2            py39hb2f4e1b_0  
munkres                   1.1.4                      py_0  
murmurhash                1.0.5            py39h23ab428_0  
nbclassic                 0.3.5              pyhd3eb1b0_0  
nbclient                  0.5.3              pyhd3eb1b0_0  
nbconvert                 6.3.0            py39hecd8cb5_0  
nbformat                  5.1.3              pyhd3eb1b0_0  
ncurses                   6.3                  hca72f7f_2  
nest-asyncio              1.5.1              pyhd3eb1b0_0  
nltk                      3.6.5              pyhd3eb1b0_0  
nltk_data                 2019.07.04           h694c41f_2    conda-forge
notebook                  6.4.8            py39hecd8cb5_0  
numexpr                   2.8.1            py39h2e5f0a9_0  
numpy                     1.21.2           py39h4b4dc7a_0  
numpy-base                1.21.2           py39he0bd621_0  
olefile                   0.46               pyhd3eb1b0_0  
openpyxl                  3.0.9              pyhd3eb1b0_0  
openssl                   1.1.1l               h0d85af4_0    conda-forge
packaging                 21.3               pyhd3eb1b0_0  
pandas                    1.3.5            py39h743cdd8_0  
pandocfilters             1.5.0              pyhd3eb1b0_0  
parso                     0.8.3              pyhd3eb1b0_0  
peakutils                 1.3.3                      py_0    conda-forge
pexpect                   4.8.0              pyhd3eb1b0_3  
pickleshare               0.7.5           pyhd3eb1b0_1003  
pillow                    8.4.0            py39h98e4679_0  
pip                       21.2.4           py39hecd8cb5_0  
plac                      1.1.0            py39hecd8cb5_0  
plotly                    5.6.0                      py_0    plotly
ply                       3.11             py39hecd8cb5_0  
preshed                   3.0.5            py39h23ab428_4  
prometheus_client         0.13.1             pyhd3eb1b0_0  
prompt-toolkit            3.0.20             pyhd3eb1b0_0  
ptyprocess                0.7.0              pyhd3eb1b0_2  
pycparser                 2.21               pyhd3eb1b0_0  
pygments                  2.11.2             pyhd3eb1b0_0  
pyldavis                  3.3.1              pyhd8ed1ab_0    conda-forge
pyopenssl                 22.0.0             pyhd3eb1b0_0  
pyparsing                 3.0.4              pyhd3eb1b0_0  
pyrsistent                0.18.0           py39hca72f7f_0  
pysocks                   1.7.1            py39hecd8cb5_0  
python                    3.9.5                h88f2d9e_3  
python-dateutil           2.8.2              pyhd3eb1b0_0  
python-fitparse           1.1.0                      py_0    conda-forge
python-levenshtein        0.12.2           py39h89e85a6_1    conda-forge
python_abi                3.9                      2_cp39    conda-forge
pytz                      2021.3             pyhd3eb1b0_0  
pyzmq                     22.3.0           py39he9d5cce_2  
rake_nltk                 1.0.6              pyhd8ed1ab_0    conda-forge
readline                  8.1.2                hca72f7f_1  
regex                     2021.11.2        py39hca72f7f_0  
requests                  2.27.1             pyhd3eb1b0_0  
retrying                  1.3.3                      py_2    conda-forge
s3transfer                0.5.0              pyhd3eb1b0_0  
scipy                     1.7.3            py39h8c7af03_0  
seaborn                   0.11.2             pyhd3eb1b0_0  
selenium                  3.141.0         py39h9ed2024_1000  
send2trash                1.8.0              pyhd3eb1b0_1  
setuptools                58.0.4           py39hecd8cb5_0  
six                       1.16.0             pyhd3eb1b0_1  
smart_open                1.9.0                      py_0  
sniffio                   1.2.0            py39hecd8cb5_1  
soupsieve                 2.3.1              pyhd3eb1b0_0  
spacy                     2.3.5            py39hf7b0b51_0  
spyder-kernels            2.2.0            py39hecd8cb5_0  
sqlite                    3.37.2               h707629a_0  
srsly                     1.0.5            py39h23ab428_0  
tenacity                  8.0.1            py39hecd8cb5_0  
terminado                 0.13.1           py39hecd8cb5_0  
testpath                  0.5.0              pyhd3eb1b0_0  
thinc                     7.4.5            py39h1341a74_0  
tk                        8.6.11               h7bc2e8c_0  
tornado                   6.1              py39h9ed2024_0  
tqdm                      4.62.3             pyhd3eb1b0_1  
traitlets                 5.1.1              pyhd3eb1b0_0  
typing-extensions         3.10.0.2             hd3eb1b0_0  
typing_extensions         3.10.0.2           pyh06a4308_0  
tzdata                    2021e                hda174b7_0  
urllib3                   1.26.8             pyhd3eb1b0_0  
vector                    0.8.5              pyhd8ed1ab_0    conda-forge
wasabi                    0.8.2              pyhd3eb1b0_0  
wcwidth                   0.2.5              pyhd3eb1b0_0  
webencodings              0.5.1            py39hecd8cb5_1  
websocket-client          0.58.0           py39hecd8cb5_4  
werkzeug                  2.0.3              pyhd8ed1ab_1    conda-forge
wheel                     0.37.1             pyhd3eb1b0_0  
wordcloud                 1.8.1            py39h89e85a6_2    conda-forge
wurlitzer                 3.0.2            py39hecd8cb5_0  
xmltodict                 0.12.0             pyhd3eb1b0_0  
xz                        5.2.5                h1de35cc_0  
zeromq                    4.3.4                h23ab428_0  
zipp                      3.7.0              pyhd3eb1b0_0  
zlib                      1.2.11               h4dc903c_4  
zstd                      1.4.9                h322a384_0
```

It's a bit urgent. Thanks for your help.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
IvanLiuTWcommented, Mar 7, 2022

@ccordoba12

Got it, thank you!

0reactions
ccordoba12commented, Mar 4, 2022

I’m going to close this issue because I think we are good now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't restart kernel due to content in stderr file #17252 - GitHub
Open spyder. Create any variable in the console (this step is not necessary). Choose "Restart kernel" option from the console "hambrger icon".
Read more >
Kernel Restart (Ctrl+.) in spyder not working - Stack Overflow
I have recently updated my Anaconda and Spyder app! But in this new version of Spyder (version 4), when I restart the kernel...
Read more >
Common Illnesses — Spyder 5 documentation
If you receive the message An error occurred while starting the kernel in the IPython Console, Spyder was unable to launch a new...
Read more >
spyder-kernels - PyPI
Package that provides Jupyter kernels for use with the consoles of Spyder, the Scientific Python Development Environment. These kernels can launched either ...
Read more >
Why the spyder is showing error message Restarting kernel
Maybe the process is running out of (host) memory, is killed by the OS, and Spyder needs to restart the kernel. Run the...
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