vscode-jupyter: Failed to find a kernelspec to use for ipykernel launch
Environment data
- VS Code version: 1.50.0-insider (user setup)
- Extension version (available under the Extensions sidebar):2020.9.106814-dev
- OS and version: Windows_NT x64 10.0.18362
- Python version (& distribution if applicable, e.g. Anaconda): Python 3.8.5 32-bit
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A Jupyter 1.1.5,
[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'
), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
Opening Jupyter files and be able to run code
Actual behaviour
It shows. Failed to find a kernelspec to use for ipykernel launch
Steps to reproduce:
I open Jupyter in VSCode insider then this shows up “Failed to find a kernelspec to use for ipykernel launch”
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
XXX
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 22 (5 by maintainers)
The following seems to have gotten rid of the error for me, occurred on a fresh install:
pip install ipython
pip install ipykernel
If you already have a kernel installed, upgrading it may work too. Try:
pip install --upgrade ipython
pip install --upgrade ipykernel
The issue appears to be back in version: v2020.12.414227025
I have the same problem on MacOS. It seems to work after
pip install --upgrade --force-reinstall
,ipython kernel install
and reinstallation of the VSC python extension.i’ve fixed the problem as well using this : pip install --upgrade ipython pip install --upgrade ipykernel
The issue persists on v2020.9.106814-dev of the extension on Daily build.
System data: Version: 1.50.0-insider (user setup) Commit: 403a6895f401c397933ec5c4f7d89432a33509b6 Date: 2020-09-18T05:31:09.978Z Electron: 9.3.0 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Windows_NT x64 10.0.19041 WSL2 Ubuntu 18.04 Python: Python 3.6.9 Output of
jupyter kernelspec list
:Any hotfix available?
I concur, I am facing the same error message and issue.
Can second this, appears to be back in v2020.12.414227025