diff --git a/src/client/interpreter/interpreterService.ts b/src/client/interpreter/interpreterService.ts index 9f386247f4d8a..7bb6f9c2edcea 100644 --- a/src/client/interpreter/interpreterService.ts +++ b/src/client/interpreter/interpreterService.ts @@ -265,6 +265,7 @@ export class InterpreterService implements Disposable, IInterpreterService { .then(async () => { // Fetch interpreter details so the cache is updated to include the newly installed Python. await this.getInterpreterDetails(pythonPath); + // Fire an event as the executable for the environment has changed. this.didChangeInterpreterEmitter.fire(workspaceFolder?.uri); reportActiveInterpreterChanged({ path: pythonPath, diff --git a/src/client/pythonEnvironments/base/locators/composite/envsCollectionCache.ts b/src/client/pythonEnvironments/base/locators/composite/envsCollectionCache.ts index c49715fb5c619..06f3be636dc20 100644 --- a/src/client/pythonEnvironments/base/locators/composite/envsCollectionCache.ts +++ b/src/client/pythonEnvironments/base/locators/composite/envsCollectionCache.ts @@ -150,12 +150,9 @@ export class PythonEnvInfoCache extends PythonEnvsWatcher