mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 09:35:36 -05:00
Skip adding python user package directory to PATH on SAW devices. (#11849)
This commit is contained in:
@@ -321,7 +321,8 @@ export class JupyterServerInstallation implements IJupyterServerInstallation {
|
||||
}
|
||||
}
|
||||
|
||||
if (await utils.exists(this._pythonExecutable)) {
|
||||
// Skip adding user package directory on SAWs, since packages will already be included with ADS
|
||||
if (!this._runningOnSAW && await utils.exists(this._pythonExecutable)) {
|
||||
let pythonUserDir = await this.getPythonUserDir(this._pythonExecutable);
|
||||
if (pythonUserDir) {
|
||||
this.pythonEnvVarPath = pythonUserDir + delimiter + this.pythonEnvVarPath;
|
||||
|
||||
Reference in New Issue
Block a user