Spyder: Spyder 3.30 pip installed wrong spyder-kernels requirement (<1.0 is required)

Created on 6 Jul 2018  路  10Comments  路  Source: spyder-ide/spyder

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[x] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)
[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[x] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide
[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

Spyder does not start

Steps to reproduce
_* updating spyder: pip3 install -U spyder

  • installing spyder kernels: pip3 install spyder-kernels
    output
    Spyder not starting
Output:

RuntimeError: Please check Spyder installation requirements:
spyder-kernels < 1.0 is required (found 1.0.1).

```

  • Spyder version: 3.30
  • Python version: 3.6.5
  • Qt version:
  • PyQt version:
  • Operating System name/version: Ubuntu 18.04

Most helpful comment

Yes, that's right. If you install Spyder with

pip install -U spyder

the right version of spyder-kernels will be pulled.

All 10 comments

Ok, When I install spyder-kernels 0.2.4 it works!
So 1.0.1 is for Spyder4 basically?

Yes, that's right. If you install Spyder with

pip install -U spyder

the right version of spyder-kernels will be pulled.

Under Anaconda, avoid to use pip to manage a package that is part of the distribution, it may broke something. Instead, use conda :
conda update spyder

Had same problem. Spyder would no longer start. Used command "conda update spyder" and my spyder-kernels: 1.0.1-py36_0 --> 0.2.6-py36_0 was Downgraded. Spyder starts again.

Lesson learned: Use conda rather than pip to install and update packages

I had exactly the same problem, but I did update via conda. 'conda update --all' installs the wrong version of spyder-kernels. That was a week or so ago and I just rolled back the whole upgrade. It's still pulling down the wrong version today, so I signed up to report this. 'conda update spyder' is a tidier fix.

Spyder also stopped starting for me after running 'conda update --all'. It was returning 'spyder-kernels < 1.0 is required (found 1.0.1)'. Running 'conda update spyder' fixed the problem.

Problem still exists with 'conda update --all'. Running 'conda update spyder' fixed the problem.
conda version : 4.6.3
conda-build version : not installed
python version : 3.7.2.final.0

how to install spyder-kernels 0.2.4? My spyder-kernels version is 1.3.2.

conda install spyder-kernels=0.*

or

pip install spyder-kernels==0.*

depending on how you installed Spyder.

$ pip install spyder鈥慿ernels==0.*
ERROR: Invalid requirement: 'spyder鈥慿ernels==0.*'

Was this page helpful?
0 / 5 - 0 ratings