Unverified Commit 7217b507 authored by J-shang's avatar J-shang Committed by GitHub
Browse files

modify the pythonPath of PythonShell under windows to python (#2882)


Co-authored-by: default avatarNing Shang <nishang@microsoft.com>
parent 10d7ece1
...@@ -41,6 +41,7 @@ export class AMLClient { ...@@ -41,6 +41,7 @@ export class AMLClient {
const deferred: Deferred<string> = new Deferred<string>(); const deferred: Deferred<string> = new Deferred<string>();
this.pythonShellClient = new PythonShell('amlUtil.py', { this.pythonShellClient = new PythonShell('amlUtil.py', {
scriptPath: './config/aml', scriptPath: './config/aml',
pythonPath: process.platform === 'win32' ? 'python' : 'python3',
pythonOptions: ['-u'], // get print results in real-time pythonOptions: ['-u'], // get print results in real-time
args: [ args: [
'--subscription_id', this.subscriptionId, '--subscription_id', this.subscriptionId,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment