From 2ef0b7adb8b3d9e79d16168f75c3c20a35a4b391 Mon Sep 17 00:00:00 2001 From: Cory Rivera Date: Fri, 17 Apr 2020 10:10:44 -0700 Subject: [PATCH] Check conda-forge channel first when installing conda packages. (#10035) (#10047) --- extensions/notebook/src/jupyter/jupyterServerInstallation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/notebook/src/jupyter/jupyterServerInstallation.ts b/extensions/notebook/src/jupyter/jupyterServerInstallation.ts index c1658b064f..665dddf6cb 100644 --- a/extensions/notebook/src/jupyter/jupyterServerInstallation.ts +++ b/extensions/notebook/src/jupyter/jupyterServerInstallation.ts @@ -625,7 +625,7 @@ export class JupyterServerInstallation implements IJupyterServerInstallation { let versionSpecifier = useMinVersion ? '>=' : '=='; let packagesStr = packages.map(pkg => `"${pkg.name}${versionSpecifier}${pkg.version}"`).join(' '); let condaExe = this.getCondaExePath(); - let cmd = `"${condaExe}" install -y ${packagesStr}`; + let cmd = `"${condaExe}" install -c conda-forge -y ${packagesStr}`; return this.executeStreamedCommand(cmd); }