Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spyder-kernels problem with Spyder 5 #15091

Closed
Shaimahameed opened this issue Apr 3, 2021 · 21 comments
Closed

spyder-kernels problem with Spyder 5 #15091

Shaimahameed opened this issue Apr 3, 2021 · 21 comments
Assignees
Milestone

Comments

@Shaimahameed
Copy link

Shaimahameed commented Apr 3, 2021

on MACOS (macos big sur 11.2.3) previous versions worked smoothly but after updating to spyder 5.0.0 spyder‑kernels not working and cannot be installed using ( conda install spyder‑kernels OR pip install spyder‑kernels )

#ERROR Message :
You have missing dependencies!

Mandatory:
spyder_kernels >=2.0.1,<2.1.0 : 2.0.1 (NOK)

Please install them to avoid this message.

Note: Spyder could work without some of these dependencies, however to have a smooth experience when using Spyder we strongly recommend you to install all the listed missing dependencies.

Failing to install these dependencies might result in bugs. Please be sure that any found bugs are not the direct result of missing dependencies, prior to reporting a new issue.

@ccordoba12 ccordoba12 added this to the v5.0.1 milestone Apr 3, 2021
@ccordoba12 ccordoba12 self-assigned this Apr 3, 2021
@ccordoba12
Copy link
Member

ccordoba12 commented Apr 3, 2021

Hey @Shaimahameed, thanks for reporting. Sorry for this problem, it was a mistake on our side and you can safely ignore that message.

It'll be fixed in our next version, to be released in a couple of days.

@Shaimahameed
Copy link
Author

@ccordoba12 thank you for the fast reply i'll be waiting

@ccordoba12 ccordoba12 changed the title spyder-kernels problem version 5.0.0 spyder-kernels problem with Spyder 5.0 Apr 3, 2021
@ccordoba12 ccordoba12 changed the title spyder-kernels problem with Spyder 5.0 spyder-kernels problem with Spyder 5 Apr 3, 2021
@kookma
Copy link

kookma commented Apr 3, 2021

Hi @ccordoba12

Hey @Shaimahameed, thanks for reporting. Sorry for this problem, it was a mistake on our side and you can safely ignore that message.

It'll be fixed in our next version, to be released in a couple of days.

I just want to report I have the same issue on Windows 10 + Python 3.9.3.
But as you described I ignore the message and Spyder does not complain and I can continue my work in Spyder!
If I restart the Spyder I get the error message again!

Thank you for your efforts.

@zapcity
Copy link

zapcity commented Apr 3, 2021

Same issue in Windows 10 + Python 3.8.9. I also have spyder-kernels 2.0.1 installed (when installing spyder), all via pip.

@stonebig
Copy link
Contributor

stonebig commented Apr 3, 2021

in your file "\Lib\site-packages\spyder\dependencies.py", change line 66

from
SPYDER_KERNELS_REQVER = '>=2.0.1,<2.1.0'

to
SPYDER_KERNELS_REQVER = '>=2.0.1;<2.1.0'

and it will be fine

@texadactyl
Copy link

texadactyl commented Apr 3, 2021

For Linux using pip, assuming that you have done a local installation, follow the advice of @stonebig but in this directory:
$HOME/.local/lib/python<VERSION>/site-packages/spyder/

@real-yfprojects
Copy link
Contributor

I wonder how that wasn't noticed during testing before the release.

@stonebig
Copy link
Contributor

stonebig commented Apr 3, 2021

there are integration bugs "with the user" that CI don't/can't catch, it's very frequent.

@real-yfprojects
Copy link
Contributor

there are integration bugs "with the user" that CI don't/can't catch, it's very frequent.

I would definitely be kind of nervous before a big release like 5.0.0 and start up spyder once before releasing. Especially if I merged some bots translation files. Although I can see how the issue happened.

@texadactyl
Copy link

The army of unpaid volunteers missed something between the 2 packages. Maybe that file was edited weeks ago. Distractions like real life happen. I've commited the same sin in another set of github projects and so has other members of my organisation.

@Jacques2101
Copy link

Jacques2101 commented Apr 5, 2021

Capture d’écran 2021-04-05 à 15 55 36

> For Linux using pip, assuming that you have done a local installation, follow the advice of @stonebig but in this directory: > $HOME/.local/lib/python``/site-packages/spyder/

and on macOS where is it ?
I installed Spyder 5 on a local basis but can't find this file. I found a lot of dependencies.py files (in users/opt/anaconda3) so I suppose they are from my previous installation with anaconda.
I also tried to find it in .lib/site-packages but can't find Spyder root after

Thx for your help.

@Kochise
Copy link

Kochise commented Apr 7, 2021

in your file "\Lib\site-packages\spyder\dependencies.py", change line 66

from
SPYDER_KERNELS_REQVER = '>=2.0.1,<2.1.0'

to
SPYDER_KERNELS_REQVER = '>=2.0.1;<2.1.0'

and it will be fine

Why not just SPYDER_KERNELS_REQVER = '>=2.0.1' ?

@real-yfprojects
Copy link
Contributor

Why not just SPYDER_KERNELS_REQVER = '>=2.0.1' ?

See PR #15100.

@byronformwalt
Copy link

byronformwalt commented Apr 9, 2021 via email

@ZedTDean
Copy link

it is version 5.0.2 and the problem still there, and changing the , to ; does not work

@ccordoba12
Copy link
Member

This problem was fixed a month ago in 5.0.1 but unfortunately the Anaconda team hasn't updated Spyder yet, even after asking them to do it several times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.