diff --git a/src/client/datascience/jupyter/jupyterCommand.ts b/src/client/datascience/jupyter/jupyterCommand.ts index 2633a74306f5..6eebc96e08a1 100644 --- a/src/client/datascience/jupyter/jupyterCommand.ts +++ b/src/client/datascience/jupyter/jupyterCommand.ts @@ -105,7 +105,7 @@ class InterpreterJupyterCommand implements IJupyterCommand { } } } - return pythonExecutionFactory.createActivatedEnvironment({ interpreter: this._interpreter }); + return pythonExecutionFactory.createActivatedEnvironment({ interpreter: this._interpreter, bypassCondaExecution: true }); }); } public interpreter(): Promise { diff --git a/src/client/datascience/jupyter/jupyterCommandFinder.ts b/src/client/datascience/jupyter/jupyterCommandFinder.ts index ea68a5a5e107..3c03a74d743d 100644 --- a/src/client/datascience/jupyter/jupyterCommandFinder.ts +++ b/src/client/datascience/jupyter/jupyterCommandFinder.ts @@ -359,7 +359,7 @@ export class JupyterCommandFinderImpl { private async createExecutionService(interpreter: PythonInterpreter): Promise { const [currentInterpreter, pythonService] = await Promise.all([ this.interpreterService.getActiveInterpreter(undefined), - this.executionFactory.createActivatedEnvironment({ resource: undefined, interpreter, allowEnvironmentFetchExceptions: true }) + this.executionFactory.createActivatedEnvironment({ resource: undefined, interpreter, allowEnvironmentFetchExceptions: true, bypassCondaExecution: true }) ]); // Use daemons for current interpreter, when using any other interpreter, do not use a daemon.