diff --git a/extensions/notebook/src/jupyter/jupyterServerInstallation.ts b/extensions/notebook/src/jupyter/jupyterServerInstallation.ts index c56a3ff3a7..894dcc4ef0 100644 --- a/extensions/notebook/src/jupyter/jupyterServerInstallation.ts +++ b/extensions/notebook/src/jupyter/jupyterServerInstallation.ts @@ -83,10 +83,8 @@ export class JupyterServerInstallation { ]; private readonly _expectedPythonPackages = this._commonPackages.concat(this._commonPipPackages); - - private readonly _expectedCondaPackages = this._commonPackages.concat([{ name: 'pykerberos', version: '1.2.1' }]); - private readonly _expectedCondaPipPackages = this._commonPipPackages; + private readonly _expectedCondaPackages: PythonPkgDetails[]; constructor(extensionPath: string, outputChannel: OutputChannel, apiWrapper: ApiWrapper, pythonInstallationPath?: string) { this.extensionPath = extensionPath; @@ -98,6 +96,12 @@ export class JupyterServerInstallation { this._usingExistingPython = JupyterServerInstallation.getExistingPythonSetting(this.apiWrapper); this._prompter = new CodeAdapter(); + + if (process.platform !== constants.winPlatform) { + this._expectedCondaPackages = this._commonPackages.concat([{ name: 'pykerberos', version: '1.2.1' }]); + } else { + this._expectedCondaPackages = this._commonPackages; + } } private async installDependencies(backgroundOperation: azdata.BackgroundOperation, forceInstall: boolean): Promise {