From 1d2f1fbee13a242db72ba4e1524a9a2aad7b42b4 Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Thu, 18 Feb 2021 19:45:38 +0000 Subject: [PATCH] Prefer Python 3 executables over python 2 during install --- get-poetry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-poetry.py b/get-poetry.py index 73b818c7a5c..16e4bdcddfd 100644 --- a/get-poetry.py +++ b/get-poetry.py @@ -638,7 +638,7 @@ def extract_lib(self, filename): def _which_python(self): """Decides which python executable we'll embed in the launcher script.""" - allowed_executables = ["python", "python3"] + allowed_executables = ["python3", "python"] if WINDOWS: allowed_executables += ["py.exe -3", "py.exe -2"]