We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7551eb5 commit b0488b7Copy full SHA for b0488b7
src/managers/pyenv/pyenvUtils.ts
@@ -115,7 +115,9 @@ export async function getPyenv(native?: NativePythonFinder): Promise<string | un
115
await state.set(PYENV_PATH_KEY, undefined);
116
}
117
118
- const pyenvBin = isWindows() ? 'pyenv.exe' : 'pyenv';
+ // pyenv-win provides pyenv.bat, not pyenv.exe
119
+ // See: https://github.com/pyenv-win/pyenv-win
120
+ const pyenvBin = isWindows() ? 'pyenv.bat' : 'pyenv';
121
const pyenvRoot = process.env.PYENV_ROOT;
122
if (pyenvRoot) {
123
const pyenvPath = path.join(pyenvRoot, 'bin', pyenvBin);
0 commit comments