Unverified Commit 761732ab authored by Ni Hao's avatar Ni Hao Committed by GitHub
Browse files

fix syntax error on windows (#3634)


Co-authored-by: default avatarHao Ni <v-nihao@microsoft.com>
parent e5fb9c51
......@@ -116,7 +116,7 @@ class NNITensorboardManager implements TensorboardManager {
private setTensorboardVersion(): void {
let command = `python3 -c 'import tensorboard ; print(tensorboard.__version__)'`;
if (process.platform === 'win32') {
command = `python -c 'import tensorboard ; print(tensorboard.__version__)'`;
command = `python -c "import tensorboard ; print(tensorboard.__version__)"`;
}
try {
const tensorboardVersion = cp.execSync(command).toString();
......
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