spyder: Spyder complains about missing ipykernel module in external interpreters

While trying to use Spyder with the Python3.6.3 core I get such error; “Your Python environment or installation doesn’t have the ipykernel module installed on it. Without this module is not possible for Spyder to create a console for you.”

What steps will reproduce the problem?

  1. Get Python 3.6.2 installed along with 3.5.4
  2. Launch Spyder and got to Tools -> Preferences -> Python Interpreter
  3. Switch to python3.6
  4. Try to open a new Ipython console

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

Get this error:

Your Python environment or installation doesn't have the ipykernel module installed on it. Without this module is not possible for Spyder to create a console for you.

You can install ipykernel by running in a terminal:
pip install ipykernel
or
conda install ipykernel

Please provide any additional information below

have tried to install the missing ipykernel thinking it might be missing for the Python3.6 environment but no luck. The package seems to be already installed so nothing needs to be done.

Versions and main components

  • Spyder Version: Spyder 3.2.2
  • Python Version: 3.6.2
  • Qt Version:
  • PyQt Version:
  • Operating system: Kali Linux, all updates applied.

Dependencies

Please go to the menu entry Help > Optional Dependencies (or Help > Dependencies), press the button Copy to clipboard and paste the contents below:

IPython >=4.0    :  6.1.0 (OK)
cython >=0.21    :  None (NOK)
jedi >=0.9.0     :  0.10.2 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
numpy >=1.7      :  1.9.1 (OK)
pandas >=0.13.1  :  None (NOK)
psutil >=0.3     :  5.3.1 (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.10.7 (OK)
sphinx >=0.6.6   :  1.5.5 (OK)
sympy >=0.7.3    :  None (NOK)

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 24 (7 by maintainers)

Most upvoted comments

Same issue with me. It seems this is due to multiple envs in Conda and Python Installation

— Reset Spyder to factory defaults solved issue. Thanks

Same issue as @BeatkinGourav. OS X Mojave, Python 3.8, and Spyder 4.1.3 installed using conda.

Resolved by Preferences-> Reset to Defaults as suggested by @afarane.

Is there any way to solve this issue? While i’m useing python 2.7 it’s working fine. But when i try to use py 3.6 it should the error: An error ocurred while starting the kernel Your Python environment or installation doesn’t have the ipykernel and cloudpickle modules installed on it. Without these modules is not possible for Spyder to create a console for you.

You can install them by running in a system terminal:

pip install ipykernel cloudpickle

after i install the ipykernel cloudpickle from console, it’s still not working.

I Installed fresh Anaconda and then within that when I open Spyder I got this message in return Capture

I tried the following command to install ipykernels but after that also it is not showing. conda create -n py38 python=3.8 spyder-kernels conda install spyder-kernels conda install ipykernels

and I got same issue with spyder until now. and when I tried to update spyder in anaconda to the latest version it shows me unable to update.

With version 3.3.0 it complains about spyder-kernels: An error ocurred while starting the kernel Your Python environment or installation doesn’t have the spyder‑kernels module installed on it. Without this module is not possible for Spyder to create a console for you.