require python3 already downloaded
This commit is contained in:
parent
4f0dfe2639
commit
ec6081fa41
1 changed files with 4 additions and 2 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue