diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-27 14:58:03 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-27 14:58:03 -0700 |
commit | ec6081fa412cd33aa33899b77255bff70f7bfe2d (patch) | |
tree | 3d02864373cf54e8b67a6aafe174dfcb43831c75 /extension | |
parent | 4f0dfe2639affdd607488638d59af56b5b753aa8 (diff) | |
download | sncontinue-ec6081fa412cd33aa33899b77255bff70f7bfe2d.tar.gz sncontinue-ec6081fa412cd33aa33899b77255bff70f7bfe2d.tar.bz2 sncontinue-ec6081fa412cd33aa33899b77255bff70f7bfe2d.zip |
require python3 already downloaded
Diffstat (limited to 'extension')
-rw-r--r-- | extension/src/activation/environmentSetup.ts | 6 |
1 files changed, 4 insertions, 2 deletions
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"; |