diff --git a/extensions/notebook/src/jupyter/jupyterServerInstallation.ts b/extensions/notebook/src/jupyter/jupyterServerInstallation.ts index 5def66ee61..862277e199 100644 --- a/extensions/notebook/src/jupyter/jupyterServerInstallation.ts +++ b/extensions/notebook/src/jupyter/jupyterServerInstallation.ts @@ -256,8 +256,7 @@ export class JupyterServerInstallation { } } - let isPythonInstalled = await JupyterServerInstallation.isPythonInstalled(this.apiWrapper); - if (isPythonInstalled) { + if (fs.existsSync(this._pythonExecutable)) { let pythonUserDir = await this.getPythonUserDir(this._pythonExecutable); if (pythonUserDir) { this.pythonEnvVarPath = pythonUserDir + delimiter + this.pythonEnvVarPath;