From ec6081fa412cd33aa33899b77255bff70f7bfe2d Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Tue, 27 Jun 2023 14:58:03 -0700 Subject: require python3 already downloaded --- extension/src/activation/environmentSetup.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'extension') diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts index ec0e228d..e4f8d6ed 100644 --- a/extension/src/activation/environmentSetup.ts +++ b/extension/src/activation/environmentSetup.ts @@ -63,8 +63,10 @@ async function getPythonPipCommands() { pythonCmd = "python"; } else { // Python doesn't exist at all - console.log("Python3 not found, downloading..."); - await downloadPython3(); + vscode.window.showErrorMessage( + "Continue requires Python3. Please install from https://www.python.org/downloads, reload VS Code, and try again." + ); + throw new Error("Python3 is not installed."); } } let pipCmd = pythonCmd.endsWith("3") ? "pip3" : "pip"; -- cgit v1.2.3-70-g09d2