From bdbf09104fefa4fc016f5c492c524e3a96c44c2c Mon Sep 17 00:00:00 2001 From: Brian Ignacio Date: Fri, 20 Sep 2024 15:44:22 +0800 Subject: [PATCH] rm Scripts from getSystemPython --- src/pythonManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pythonManager.ts b/src/pythonManager.ts index 7635e555a..cd5847f43 100644 --- a/src/pythonManager.ts +++ b/src/pythonManager.ts @@ -311,7 +311,7 @@ export async function getSystemPython(workspaceFolder: Uri) { ).replace(/(\n|\r|\r\n)/gm, ""); const pyDir = process.platform === "win32" - ? ["Scripts", "python.exe"] + ? ["python.exe"] : ["bin", "python3"]; const sysPythonBinPath = join(pythonVersion, ...pyDir); return sysPythonBinPath;