Have Spyder offer to install spyder-kernels in virtual environments
See original GitHub issueWhat steps will reproduce the problem?
When a user does not have the appropriate version of spyder-kernels
installed, the IPython console fails to start with the following message:
Your Python environment or installation doesn't have the spyder‑kernels module or the right version of it installed (>= 2.1.0 and < 2.2.0). Without this module is not possible for Spyder to create a console for you.
You can install it by running in a system terminal:
conda install spyder‑kernels=2.1
or
pip install spyder‑kernels==2.1.*
It would be convenient if Spyder provided a dialog window offering to install the appropriate version of spyder-kernels
(and possibly pyqt
) for the user.
Issue Analytics
- State:
- Created 2 years ago
- Comments:22 (22 by maintainers)
Top Results From Across the Web
virtualenv IPython in Spyder not working - Stack Overflow
3 Answers 3 · activate the environment where you want to work (ex : source env/bin/activate ) · install the kernel in the...
Read more >Frequently Asked Questions — Spyder 5 documentation
The easiest way to install Spyder is with the Anaconda Python distribution, which comes with everything you need to get started in an...
Read more >5 Steps : Setup Python Virtual environment in Spyder IDE
I have setup python 3 environment on my machine. For python 3, Let us install the virtualenv package with pip command as below....
Read more >Missing spyder‑kernels -- reinstalling to no avail · Issue #12709
Your Python environment or installation doesn't have the spyder‑kernels module or the right version of it installed (>= 1.9.1 and < 1.10.0).
Read more >spyder-kernels - PyPI
Package that provides Jupyter kernels for use with the consoles of Spyder, the Scientific Python Development Environment. These kernels can launched either ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FWIW, @ccordoba12 basically said everything I wanted to say, but more clearly and eloquently and in half the words, heh.
@mrclary Thanks for understanding, and even better for offering to pitch in on the package management support—I’m sure that would be a huge help in finally implementing a feature we’ve always wanted to add but hadn’t yet been able to fully scrape together all the dev time for given the other priorities that kept coming up.
Sidenote @ccordoba12 —why did @spyder-bot re-open the issue?
@ccordoba12 @CAM-Gerlach, thank you both for your patience and willingness to discuss this issue. I now agree that providing this small functionality will open a pandora’s box before we’re ready to provide the superior solution. I do think that Spyder’s own environment and package manager will be a welcome and worthwhile feature and I look forward to contributing to its development.