Problems with new venv on Anaconda. Spyder ask for spyder-kernels module but doesn't detect it

103 views
Skip to first unread message

Andrea Bragantini

unread,
Apr 22, 2021, 6:49:37 PM4/22/21
to spyder
Hi all,

I am using Spyder within Anaconda, as many others of you do (I believe).
I started recently to work with different venvs on Anaconda for different project needs.
Unfortunately, changing the Python interpreter path on the Spyder preferences asks for the "spyder-kernels" module to be installed. Is this normal?

Even after having installed that module on the selected venv, still the Spyder kernel is not able to start. It seems that Spyder is not able to see the new installed package.

Is someone else experiencing the same issue? It is very annoying.

I would like to be able to use same Spyder installation in an easy way with different venvs, for different projects.

Thanks
Andrea Bragantini
PhD Student

Carlos Córdoba

unread,
Apr 22, 2021, 6:56:20 PM4/22/21
to spyd...@googlegroups.com
Hi,

My answers are below

El 19/04/21 a las 2:57 p. m., Andrea Bragantini escribió:
Hi all,

I am using Spyder within Anaconda, as many others of you do (I believe).
I started recently to work with different venvs on Anaconda for different project needs.
Unfortunately, changing the Python interpreter path on the Spyder preferences asks for the "spyder-kernels" module to be installed. Is this normal?

Yes, that's normal.


Even after having installed that module on the selected venv, still the Spyder kernel is not able to start. It seems that Spyder is not able to see the new installed package.

Is someone else experiencing the same issue? It is very annoying.

What's the error you're seeing?


I would like to be able to use same Spyder installation in an easy way with different venvs, for different projects.

Thanks
Andrea Bragantini
PhD Student
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/d503bffa-36c4-4421-a9b6-3c9783ebff57n%40googlegroups.com.

Andrea Bragantini

unread,
Apr 23, 2021, 9:37:32 AM4/23/21
to spyder
Dear Carlos,

Thanks for your answers.
Of course I was following the webpage you posted there.

It seems that when asking to install the spyder-kernels library, it downloads the wrong version, not compatible with the current python version in that environment.
Is this something unusual?
Even asking for the right version (displayed in spyder console, not the latest 2.0 but giving these constraints: >=1.9 and <1.10) it says it is not compatible with your python version.
Sometimes it works with other python interpreters, sometimes not. Very annoying. Cannot work like this.

I am really losing a lot of time in trying to make spyder working with these spyder-kernels.
I really would like to avoid that. 

Thanks for your help.

Andrea
Reply all
Reply to author
Forward
0 new messages