fix(setup): always resolve interpreter during setup probe

This commit is contained in:
can1357
2026-08-02 20:47:36 +02:00
parent 46f780fedd
commit 46c66ac03a
3 changed files with 23 additions and 3 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ function managedPythonPath(): string {
* Check Python environment and kernel dependencies.
*/
async function checkPythonSetup(cwd: string, interpreter?: string): Promise<PythonCheckResult> {
const availability = await checkPythonKernelAvailability(cwd, interpreter);
const availability = await checkPythonKernelAvailability(cwd, interpreter, { forceProbe: true });
return {
available: availability.ok,
pythonPath: availability.pythonPath,