Skip to content

IPyKernel & other dependencies are installed, yet I am asked to install these dependencies

Don Jayamanne edited this page Mar 10, 2022 · 1 revision
  • The kernel used by the notebook is not the same as the Python environment into which ipykernel has been installed. Please consider changing the kernel

  • The dependencies such as ipykernel are outdated or not installed correctly.
    Try re-installing the packages with the dependencies as follows:

    # if using conda, where `env name` is the name of the conda environment.
    conda install -c conda-forge -n <env name> ipykernel --update-deps --force-reinstall
    # if not using conda
    <fully qualified path to Python> -m pip install ipykernel -U --force-reinstall
  • pip not available to install missing dependencies

    If pip is not available, then please install pip from here.
    Once installed, please re-try to install the dependencies from the Jupyter extension in VS Code (the extension should be able to install the missing dependencies from here on).

Clone this wiki locally