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.

Ask me to install spyder-kernels, but doesn't work after the installation

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

The Python environment or installation whose interpreter is located at

C:\Users\miraboreasu\Miniconda3\envs\spyder‑env\python.exe

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

You can install it by activating your environment (if necessary) and then running in a system terminal: conda install spyder‑kernels=2.2 or pip install spyder‑kernels==2.2.*

I tried conda install spyder‑kernels=2.2, but still have this, and reset the IDE, it doesn’t work

I would like to say more, I have tried VSCode, Pycharm. I really like Spyder, since it is the one when I just started learning Python back in the old days. But I don’t know why this happened, since I used to use prompt in Tools, but now it has gone, anyway, please help me

What steps reproduce the problem?

  1. Download the latest version from https://www.spyder-ide.org/
  2. Use miniconda to create a new environment following https://docs.spyder-ide.org/5/faq.html#using-packages-installer
  3. Then when I change the preference and restart the spyder, this happened

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

https://ibb.co/3hNH4W3

The Python environment or installation whose interpreter is located at

C:\Users\miraboreasu\Miniconda3\envs\spyder‑env\python.exe

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

You can install it by activating your environment (if necessary) and then running in a system terminal: conda install spyder‑kernels=2.2 or pip install spyder‑kernels==2.2.*

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

  • Spyder version: Just download the lastest one today
  • Python version: 3.9.7
  • Qt version:
  • PyQt version:
  • Operating System name/version: Win10

Dependencies

PASTE DEPENDENCIES HERE

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
miraboreasumrcommented, Feb 16, 2022

conda install -c conda-forge spyder‑kernels=2.2.1

It works, thank you!

0reactions
zhangsiyu1997commented, Dec 3, 2022

pip install spyder-kernels==2.2.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not able to update the spyder-kernel - Stack Overflow
Spyder is now in the spyder-cf environment. So ran "conda install matplotlib" in that environment. Spyder is now working (for now).
Read more >
Common Illnesses — Spyder 5 documentation
Spyder -Kernels not installed/incompatible¶ ; Spyder requires a supported version of the spyder-kernels package to be present in the working environment you want ......
Read more >
conda install spyder stuck on solving environment - You.com
I try to install tensorflow and theano but it's stuck at 'Solving Environment' after just installing anaconda 2018.12 on latest Windows 10 Enterprise...
Read more >
spyder-ide/public - Gitter
conda install spyder-kernels=0.3 , specifically, to make sure you get the latest version compatible with ... I did updated, re-installed it, but didn't...
Read more >
Standalone installer issues on Windows - MNE Forum
That means that after running the installer, I only had “empty links” ... but Spyder then told me that I need to install...
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