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.

Your Python environment or installation doesn't have the spyder‑kernels module or the right version of it installed (>= 1.9.2 and < 1.10.0). Without this module is not possible for Spyder to create a console for you. You can install it by running in a system terminal: conda install spyder‑kernels

See original GitHub issue

Issue 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 (or pip, 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

spyder keeps showing me this error no matter either I create a new environment or use an old one. this error is not going. I have already checked spyder-kernels it is already installed. Could anyone give me any suggestions? p2

What steps reproduce the problem?

What is the expected output? What do you see instead?

basically, I want to use tensorflow in my program which is installed only in one of the env. and when I tried to switch from the default python interpreter to my env. then spyder gives me this error. A month ago when I tried to switch from one env. to another it did not give me the error that time.

Paste Traceback/Error Below (if applicable)

Your Python environment or installation doesn’t have the spyder‑kernels module or the right version of it installed (>= 1.9.2 and < 1.10.0). Without this module is not possible for Spyder to create a console for you.

You can install it by running it in a system terminal:

conda install spyder‑kernels

or

pip install spyder‑kernels


PASTE TRACEBACK HERE

Versions

Name Version Build Channel

absl-py 0.10.0 pypi_0 pypi astunparse 1.6.3 pypi_0 pypi backports 1.0 py_2 conda-forge backports.functools_lru_cache 1.6.1 py_0 conda-forge cachetools 4.1.1 pypi_0 pypi certifi 2020.12.5 py36ha15d459_1 conda-forge chardet 3.0.4 pypi_0 pypi cloudpickle 1.6.0 py_0 conda-forge colorama 0.4.4 pyh9f0ad1d_0 conda-forge decorator 4.4.2 py_0 conda-forge gast 0.3.3 pypi_0 pypi google-auth 1.21.2 pypi_0 pypi google-auth-oauthlib 0.4.1 pypi_0 pypi google-pasta 0.2.0 pypi_0 pypi grpcio 1.32.0 pypi_0 pypi h5py 2.10.0 pypi_0 pypi idna 2.10 pypi_0 pypi importlib-metadata 1.7.0 pypi_0 pypi ipykernel 5.5.0 py36h7b2dad6_1 conda-forge ipython 5.8.0 py36_1 conda-forge ipython_genutils 0.2.0 py_1 conda-forge jsonpickle 1.4.1 pypi_0 pypi jupyter_client 6.1.11 pyhd8ed1ab_1 conda-forge jupyter_core 4.7.1 py36ha15d459_0 conda-forge keras-preprocessing 1.1.2 pypi_0 pypi libsodium 1.0.18 h8d14728_1 conda-forge markdown 3.2.2 pypi_0 pypi numpy 1.18.5 pypi_0 pypi oauthlib 3.1.0 pypi_0 pypi opt-einsum 3.3.0 pypi_0 pypi pickleshare 0.7.5 py_1003 conda-forge pip 20.2.3 py_0 conda-forge prompt_toolkit 1.0.15 py_1 conda-forge protobuf 3.13.0 pypi_0 pypi pyasn1 0.4.8 pypi_0 pypi pyasn1-modules 0.2.8 pypi_0 pypi pygments 2.8.0 pyhd8ed1ab_0 conda-forge python 3.6.11 h6f26aa1_2_cpython conda-forge python-dateutil 2.8.1 py_0 conda-forge python_abi 3.6 1_cp36m conda-forge pywin32 300 py36h68aa20f_0 conda-forge pyzmq 22.0.3 py36h1d5d788_1 conda-forge requests 2.24.0 pypi_0 pypi requests-oauthlib 1.3.0 pypi_0 pypi rsa 4.6 pypi_0 pypi scipy 1.4.1 pypi_0 pypi setuptools 49.6.0 py36h9f0ad1d_0 conda-forge simplegeneric 0.8.1 py_1 conda-forge six 1.15.0 pyh9f0ad1d_0 conda-forge spyder-kernels 0.2.6 py_1 conda-forge tensorboard 2.3.0 pypi_0 pypi tensorboard-plugin-wit 1.7.0 pypi_0 pypi tensorflow 2.3.0 pypi_0 pypi tensorflow-estimator 2.3.0 pypi_0 pypi termcolor 1.1.0 pypi_0 pypi tornado 6.1 py36h68aa20f_1 conda-forge traitlets 4.3.3 py36h9f0ad1d_1 conda-forge urllib3 1.25.10 pypi_0 pypi vc 14.1 h869be7e_1 conda-forge vs2015_runtime 14.16.27012 h30e32a0_2 conda-forge wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge werkzeug 1.0.1 pypi_0 pypi wheel 0.35.1 pyh9f0ad1d_0 conda-forge wincertstore 0.2 py36_1003 conda-forge wrapt 1.12.1 pypi_0 pypi zeromq 4.3.4 h0e60522_0 conda-forge zipp 3.1.0 pypi_0 pypi

  • Spyder version:
  • Python version:
  • Qt version:
  • PyQt version:
  • Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
ccordoba12commented, Apr 21, 2021
0reactions
setegonzcommented, Apr 21, 2021

@ccordoba12 @steff456

conda remove spyder-kernels

then:

conda install spyder-kernels=1.10.2

And the issue continues…

# packages in environment at C:\Users\Steven\anaconda3\envs\nlp:
#
# Name                    Version                   Build  Channel
backcall                  0.2.0              pyhd3eb1b0_0
ca-certificates           2021.4.13            haa95532_1
certifi                   2020.12.5        py39haa95532_0
cloudpickle               1.6.0                      py_0
colorama                  0.4.4              pyhd3eb1b0_0
decorator                 5.0.6              pyhd3eb1b0_0
ipykernel                 5.3.4            py39h7b7c402_0
ipython                   7.22.0           py39hd4e2768_0
ipython_genutils          0.2.0              pyhd3eb1b0_1
jedi                      0.17.2           py39haa95532_1
jupyter_client            6.1.12             pyhd3eb1b0_0
jupyter_core              4.7.1            py39haa95532_0
libsodium                 1.0.18               h62dcd97_0
openssl                   1.1.1k               h2bbff1b_0
parso                     0.7.0                      py_0
pickleshare               0.7.5           pyhd3eb1b0_1003
pip                       21.0.1           py39haa95532_0
prompt-toolkit            3.0.17             pyh06a4308_0
pygments                  2.8.1              pyhd3eb1b0_0
python                    3.9.4                h6244533_0
python-dateutil           2.8.1              pyhd3eb1b0_0
pywin32                   228              py39he774522_0
pyzmq                     20.0.0           py39hd77b12b_1
setuptools                52.0.0           py39haa95532_0
six                       1.15.0           py39haa95532_0
spyder-kernels            1.10.2           py39haa95532_0
sqlite                    3.35.4               h2bbff1b_0
tornado                   6.1              py39h2bbff1b_0
traitlets                 5.0.5              pyhd3eb1b0_0
tzdata                    2020f                h52ac0ba_0
vc                        14.2                 h21ff451_1
vs2015_runtime            14.27.29016          h5e58377_2
wcwidth                   0.2.5                      py_0
wheel                     0.36.2             pyhd3eb1b0_0
wincertstore              0.2              py39h2bbff1b_0
zeromq                    4.3.3                ha925a31_3
Read more comments on GitHub >

github_iconTop Results From Across the Web

spyder‑kernels module issue #12059 - GitHub
Your Python environment or installation doesn't have the spyder‑kernels module or the right version of it installed (>= 1.9.0 and < 1.10.0).
Read more >
WinPython Spyder can't see spyder-kernels in virtual ...
It get error Your Python environment or installation doesn't have the spyder‑kernels module or the right version of it installed (>= 1.9.0 and...
Read more >
Common Illnesses — Spyder 5 documentation
Spyder requires a supported version of the spyder-kernels package to be present in the working environment you want to run your console in....
Read more >
installation doesn't have the spyder‑kernel module or the right ...
A recent update of python, broke the spyder kernel and it failed to launch with the following error. Click on apply and then...
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 >

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