mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -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);
|
let pythonUserDir = await this.getPythonUserDir(this._pythonExecutable);
|
||||||
if (pythonUserDir) {
|
if (pythonUserDir) {
|
||||||
this.pythonEnvVarPath = pythonUserDir + delimiter + this.pythonEnvVarPath;
|
this.pythonEnvVarPath = pythonUserDir + delimiter + this.pythonEnvVarPath;
|
||||||
|
|||||||
Reference in New Issue
Block a user