File tree 1 file changed +2
-1
lines changed
src/client/pythonEnvironments/base/locators/composite 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import {
19
19
AnacondaCompanyName ,
20
20
Conda ,
21
21
getCondaInterpreterPath ,
22
+ getPythonVersionFromConda ,
22
23
isCondaEnvironment ,
23
24
} from '../../../common/environmentManagers/conda' ;
24
25
import { getPyenvVersionsDir , parsePyenvVersion } from '../../../common/environmentManagers/pyenv' ;
@@ -246,7 +247,7 @@ async function resolveCondaEnv(env: BasicEnvInfo): Promise<PythonEnvInfo> {
246
247
} else {
247
248
executable = await conda . getInterpreterPathForEnvironment ( { prefix : envPath } ) ;
248
249
}
249
- const version = executable ? await getPythonVersionFromPath ( executable ) : undefined ;
250
+ const version = executable ? await getPythonVersionFromConda ( executable ) : undefined ;
250
251
const info = buildEnvInfo ( {
251
252
executable,
252
253
kind : PythonEnvKind . Conda ,
You can’t perform that action at this time.
0 commit comments