8000 IPyKernel not getting installed · Issue #7787 · microsoft/vscode-jupyter · GitHub
[go: up one dir, main page]

Skip to content
IPyKernel not getting installed #7787
@maxwellzh

Description

@maxwellzh

On 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.
截屏2021-10-02 下午5 59 23

The output of jupyter extension:
截屏2021-10-02 下午6 00 17

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:
截屏2021-10-02 下午6 00 36
And finally found that it was due to the missing jupyter package.

So the quick fix is :

conda install jupyter -y

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugnotebook-executionKernels issues (start/restart/switch/execution, install ipykernel)verifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0