This commit is contained in:
Nate Sesti 2023-07-11 12:33:02 -07:00
parent 857303c788
commit 655b439450
3 changed files with 6 additions and 3 deletions

View file

@ -1,12 +1,12 @@
{
"name": "continue",
"version": "0.0.149",
"version": "0.0.150",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "continue",
"version": "0.0.149",
"version": "0.0.150",
"license": "Apache-2.0",
"dependencies": {
"@electron/rebuild": "^3.2.10",

View file

@ -14,7 +14,7 @@
"displayName": "Continue",
"pricing": "Free",
"description": "The open-source coding autopilot",
"version": "0.0.149",
"version": "0.0.150",
"publisher": "Continue",
"engines": {
"vscode": "^1.67.0"

View file

@ -224,6 +224,9 @@ async function setupPythonEnv() {
// First, try to run the command to install python3-venv
let [stdout, stderr] = await runCommand(`${pythonCmd} --version`);
if (stderr) {
await vscode.window.showErrorMessage(
"Python3 is not installed. Please install from https://www.python.org/downloads, reload VS Code, and try again."
);
throw new Error(stderr);
}
const version = stdout.split(" ")[1].split(".")[1];