Skip to content

Commit 9baa598

Browse files
update python path for windows platform 🚀
1 parent 5f39ad4 commit 9baa598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export class PythonShell extends EventEmitter{
8989

9090
// starting 2020 python2 is deprecated so we choose 3 as default
9191
// except for windows which just has "python" command
92-
static defaultPythonPath = process.platform != "win32" ? "python3" : "python";
92+
static defaultPythonPath = process.platform != "win32" ? "python3" : "py";
9393

9494
static defaultOptions:Options = {}; //allow global overrides for options
9595

0 commit comments

Comments
 (0)