mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Check conda-forge channel first when installing conda packages. (#10035)
This commit is contained in:
@@ -625,7 +625,7 @@ export class JupyterServerInstallation implements IJupyterServerInstallation {
|
|||||||
let versionSpecifier = useMinVersion ? '>=' : '==';
|
let versionSpecifier = useMinVersion ? '>=' : '==';
|
||||||
let packagesStr = packages.map(pkg => `"${pkg.name}${versionSpecifier}${pkg.version}"`).join(' ');
|
let packagesStr = packages.map(pkg => `"${pkg.name}${versionSpecifier}${pkg.version}"`).join(' ');
|
||||||
let condaExe = this.getCondaExePath();
|
let condaExe = this.getCondaExePath();
|
||||||
let cmd = `"${condaExe}" install -y ${packagesStr}`;
|
let cmd = `"${condaExe}" install -c conda-forge -y ${packagesStr}`;
|
||||||
return this.executeStreamedCommand(cmd);
|
return this.executeStreamedCommand(cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user