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