Skip to content

Commit a734c63

Browse files
authored
Bypass conda service when creating daemons (#9454)
* Bypass conda run for DS code
1 parent f943f26 commit a734c63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/datascience/jupyter/notebookStarter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export class NotebookStarter implements Disposable {
241241
const isActiveInterpreter = activeInterpreter ? activeInterpreter.path === interpreter.path : false;
242242
const daemon = await (isActiveInterpreter
243243
? this.executionFactory.createDaemon({ daemonModule: PythonDaemonModule, pythonPath: interpreter.path })
244-
: this.executionFactory.createActivatedEnvironment({ allowEnvironmentFetchExceptions: true, interpreter }));
244+
: this.executionFactory.createActivatedEnvironment({ allowEnvironmentFetchExceptions: true, interpreter, bypassCondaExecution: true }));
245245
// We have a small python file here that we will execute to get the server info from all running Jupyter instances
246246
const newOptions: SpawnOptions = { mergeStdOutErr: true, token: cancelToken };
247247
const file = path.join(EXTENSION_ROOT_DIR, 'pythonFiles', 'datascience', 'getServerInfo.py');

0 commit comments

Comments
 (0)