diff --git a/src/client/pythonEnvironments/base/info/environmentInfoService.ts b/src/client/pythonEnvironments/base/info/environmentInfoService.ts index 4c437431823a..c4da2cbf6cb0 100644 --- a/src/client/pythonEnvironments/base/info/environmentInfoService.ts +++ b/src/client/pythonEnvironments/base/info/environmentInfoService.ts @@ -119,13 +119,6 @@ class EnvironmentInfoService implements IEnvironmentInfoService { } const deferred = createDeferred(); - const info = EnvironmentInfoService.getInterpreterInfo(env); - if (info !== undefined) { - this.cache.set(normCasePath(interpreterPath), deferred); - deferred.resolve(info); - return info; - } - this.cache.set(normCasePath(interpreterPath), deferred); this._getEnvironmentInfo(env, priority) .then((r) => {