Skip to content

Commit cae62fd

Browse files
authored
fix: updating the KnowPythonExecutables list (#12102)
Added Python 3.7, 3.8 and 3.9
1 parent 0d398f7 commit cae62fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/common/configSettings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ function getPythonExecutable(pythonPath: string): string {
681681
}
682682
// Keep python right on top, for backwards compatibility.
683683
// tslint:disable-next-line:variable-name
684-
const KnownPythonExecutables = ['python', 'python4', 'python3.6', 'python3.5', 'python3', 'python2.7', 'python2'];
684+
const KnownPythonExecutables = ['python', 'python4', 'python3.6', 'python3.5', 'python3', 'python2.7', 'python2', 'python3.7', 'python3.8', 'python3.9'];
685685

686686
for (let executableName of KnownPythonExecutables) {
687687
// Suffix with 'python' for linux and 'osx', and 'python.exe' for 'windows'.

0 commit comments

Comments
 (0)