-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
"An error ocurred while starting the kernel" about wrong version of spyder-kernels is displayed despite being installed #17027
Comments
I also created python=3.9.7, the issue is the same! |
Hey @leavor, thanks for reporting. Please open the Anaconda prompt and run there
That should fix your problem, which is most likely caused by not having the right version of Spyder-kernels in the environment you have selected in |
@ccordoba12, do as you say, can solve this error |
Great! Thanks for letting us know about it. To not force users to do a reset to solve this problem, we'll inform them what's the interpreter that doesn't have the right version of I think that will help them to understand to better understand what's happening in this case. |
Hey @ccordoba12 , I saw you helping many people in the same case of kernels problems. I also have this problem with the same error message. It tell me that "Your Python environment or installation doesn't have the spyder-kernels module or the right version of it installed". So I did what you said and went in preference and changed the python interpreter to "default" (it was before in "- /opt/anaconda3/bin/python"). I'm not very good at understanding that but I guess I'M now using the basic python of my computer and not the one from anaconda ???. And well, it's working now, but it's means im not having any package that was on my anaconda environment. ?? |
Not exactly. That simply means that you're using the same Python interpreter on which Spyder is running (because Spyder is also a Python application).
Possibly. Did you use our macOS app to install Spyder? |
It worked once, but the problem reoccurred. |
I have the same issue. I've installed the spyder alone. Without anaconda. |
@erdoganb, |
What is the "Anaconda Prompt" and how do I open it? |
@darcycordell, if you're on Windows, look for "Anaconda Prompt" in the Start menu. If not, simply open a terminal (Terminal.app on Mac or Konsole/Gnome Terminal on Linux). Then, see the video shown in the link I posted in my previous comment to understand what you need to do. |
Problem Description
To create a new virtual environment, use the following command:
Start spyder, the following error occurred:
![image](https://user-images.githubusercontent.com/1759365/146130521-acdcfc36-838e-4e3e-8ced-7a4d3a5c8189.png)
Restart kernel, the following occurred:
Versions
Dependencies
The text was updated successfully, but these errors were encountered: