Skip to content

Commit

Permalink
inside conda
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanorjboyd committed Oct 31, 2024
1 parent f94ef53 commit ee50275
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/client/common/process/pythonExecutionFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,20 @@ export class PythonExecutionFactory implements IPythonExecutionFactory {
pythonPath: string,
processService: IProcessService,
): Promise<IPythonExecutionService | undefined> {
console.log('EJFB, inside createCES');
const condaLocatorService = this.serviceContainer.get<IComponentAdapter>(IComponentAdapter);
console.log('EJFB, 5.1');
const [condaEnvironment] = await Promise.all([condaLocatorService.getCondaEnvironment(pythonPath)]);
console.log('EJFB, 5.2');
if (!condaEnvironment) {
return undefined;
}
console.log('EJFB,5.3');
const env = await createCondaEnv(condaEnvironment, processService, this.fileSystem);
if (!env) {
return undefined;
}
console.log('EJFB, 5.4');
return createPythonService(processService, env);
}

Expand Down

0 comments on commit ee50275

Please sign in to comment.