Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spyder 5 missing dependencies - spyder_kernels version error [closed]

Tags:

python

spyder

enter image description here

Spyder gives me error message like above, but I cannot solve it.

I think the version of spyder_kernels should be 2.0.1 at least, but I already updated my version as 2.0.1.

Why I get such warning message? & How can I solve it?

I reinstalled spyder-kernels both conda and pip, but it didn't help.

like image 354
Geonsu Kim Avatar asked Apr 05 '21 12:04

Geonsu Kim


People also ask

How does Spyder solve kernel error?

If the kernel displays a long error traceback that mentions other packages like ipython , ipykernel , jupyter_client , traitlets or pyzmq , the problem may be an out of date or incompatible version of a dependency package. To fix this, activate the environment and update the key dependencies.

What is kernel in Spyder?

Package that provides Jupyter kernels for use with the consoles of Spyder, the Scientific Python Development Environment. These kernels can launched either through Spyder itself or in an independent Python session, and allow for interactive or file-based execution of Python code inside Spyder.

Why does Spyder restart the kernel?

Maybe the process is running out of (host) memory, is killed by the OS, and Spyder needs to restart the kernel. Run the script in a terminal and check if you are seeing a better error message.


Video Answer


1 Answers

(Spyder maintainer here) That error message is caused by a bug in Spyder and it was fixed in our 5.0.1 version, released on April 16th 2020.

You can safely ignore it for now because it incorrectly reports that the right version of spyder-kernels is missing, when it's actually installed.

like image 95
Carlos Cordoba Avatar answered Oct 13 '22 07:10

Carlos Cordoba