IPyKernel not getting installed
See original GitHub issueOn running a cell in the notebook, if ipykernel
is missing, current behavior is to install ipykernel
with
conda install ipykernel -y
However, if you don’t have jupyter
installed, it just asks you to re-install ipykernel again and again.
The output of jupyter extension:
So I guess the current way of handling the missing ipykernel is to try python -c "import ipykernel"
, and if it fails, reports the user to re-install ipykernel.
I also manually execute this command:
And finally found that it was due to the missing jupyter
package.
So the quick fix is :
conda install jupyter -y
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
IPyKernel not installed into interpreter Python 3.8.6 64-bit #1093
Open a terminal · Activate the environemtn · Run the command python -m ipykernel --version · Try manually running python -m pip install...
Read more >VS Code not registering that ipykernel is installed
The solution for me was running this code in command prompt pip install --upgrade ipython. The problem I think is related to a...
Read more >Installing the IPython kernel — IPython 8.7.0 documentation
Installing Jupyter. The IPython kernel is the Python execution backend for Jupyter. The Jupyter Notebook and other frontends automatically ensure that the ...
Read more >My First Jupyter Notebook on Visual Studio Code (Python ...
VSCode will open a terminal and install the ipykernel component for you. Wait for the installation process to complete. After the installation ......
Read more >ipykernel - PyPI
This package provides the IPython kernel for Jupyter. Installation from source. git clone; cd ipykernel; pip install -e ".[test]".
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
@maxwellzh Looks like you are running into a bug filed here https://github.com/ipython/ipykernel/issues/755 Basically ipykernel itself was busted & the update hasn’t been pushed to the main channel.
We’ll try to get this fixed asap.
Solution
In the mean time, please use
conda install -c conda-forge ipykernel
@maxwellzh This should be fixed in the next release of the Python & Jupypter extensions (some time tomorrow, when vscode is also released)