pythonvisual-studio-codejupyter

Python requires ipykernel to be installed


I encounter an issue when I use the Jupyter Notebook in VS code. The screen shows "Python 3.7.8 requires ipykernel to be installed". I followed the pop-up to install ipykernel. It still does not work. The screenshot is attached. It bothers me a lot. Could anyone help me with it? Tons of thanks.

Screenshot of VSCode displaying the error message.


Solution

  • I had the same issue and spent the whole day trying to resolve it. What worked for me was installing the Jupyter dependencies for anaconda:

    > conda install jupyter

    I installed this in my base environment. After this VSCode worked without any errors.