diff --git a/package.json b/package.json index 3de58d434ec4..705569ecab5e 100644 --- a/package.json +++ b/package.json @@ -1361,7 +1361,7 @@ { "submenu": "python.run", "group": "Python", - "when": "editorLangId == python && !virtualWorkspace && shellExecutionSupported && isWorkspaceTrusted" + "when": "editorLangId == python && !virtualWorkspace && shellExecutionSupported && isWorkspaceTrusted && notebookType != jupyter-notebook" }, { "submenu": "python.runFileInteractive",