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;