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 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
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?
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:
- Created 3 years ago
- Comments:11 (6 by maintainers)
Top GitHub Comments
Sorry, the mapping between Spyder and spyder-kernels is here:
http://docs.spyder-ide.org/current/troubleshooting/common-illnesses.html#spyder-kernels-not-installed-incompatible
@ccordoba12 @steff456
conda remove spyder-kernels
then:
conda install spyder-kernels=1.10.2
And the issue continues…