From 2817316cf478b3c0f0ae93aaff010b80c6829fd2 Mon Sep 17 00:00:00 2001 From: Cory Rivera Date: Thu, 16 Apr 2020 16:58:32 -0700 Subject: [PATCH] Check conda-forge channel first when installing conda packages. (#10035) --- 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); }