diff options
Diffstat (limited to 'codegen/lib/extract.py')
| -rwxr-xr-x | codegen/lib/extract.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/lib/extract.py b/codegen/lib/extract.py index 09035e86..6bf2d57f 100755 --- a/codegen/lib/extract.py +++ b/codegen/lib/extract.py @@ -54,7 +54,7 @@ def determine_python_command(): def try_python_command(version): return os.system(f'{version} --version') == 0 - for version in ('python3.9', 'python3.8', 'python3', 'python'): + for version in (sys.executable, 'python3.9', 'python3.8', 'python3', 'python'): if try_python_command(version): python_command = version return version |
