diff --git a/src/python.ts b/src/python.ts index 404176c..8d5e721 100644 --- a/src/python.ts +++ b/src/python.ts @@ -129,11 +129,11 @@ export async function runPythonCommand(cmdArgs: string[]): Promise { }); } export async function runJupytext(cmdArgs: string[]): Promise { - return runPythonCommand(['python'].concat(cmdArgs)); + return runPythonCommand(['python3'].concat(cmdArgs)); } async function testPythonCommand(): Promise { const cmd = [ - 'python', + 'python3', 'c', 'import sys;print(sys.executable);print(sys.version)', ];