Search code examples
pythonvisual-studio-codejupyter-notebookanacondaminiconda

Jupyter Notebook in VS Code is not working


I'm using Ubuntu, installed Vs Code and anaconda. I've also installed python extension in VS Code, which brings Jupyter Notebook extension. Now, whenever I'm trying to run code from the Jupyter extension, its throwing error as if it requires ipykernel.

Now, my conda 'base' environment has already ipykernel. Why cant Jupyter extension look for ipykernel from the current activated environment?

Is there any explicit settings to be made, to make VS Code Jupyter extension use ipykernel from the current active environment? Please provide it.


Solution

  • enter image description here

    Click here to switch the environment of Jupyter Notebook.