Skip to content

Commit

Permalink
Merge branch 'main' into fasterKernelPicker
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne authored Nov 10, 2022
2 parents 77196a3 + 184e5db commit 0b0fae3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ export class InstallPythonControllerCommands implements IExtensionSingleActivati
return;
}

// Python extension is installed, let's wait for interpreters to be detected
if (this.interpreterService.environments.length === 0) {
await this.interpreterService.waitForAllInterpretersToLoad();
}

if (this.interpreterService.environments.length === 0) {
// Extension is installed, but we didn't find any python connections
// recommend installing python in this case
Expand Down

0 comments on commit 0b0fae3

Please sign in to comment.