From 358f20c16e155c94cd0d2c9bf03585389ba22e19 Mon Sep 17 00:00:00 2001 From: flofriday Date: Mon, 29 Dec 2025 22:11:12 +0100 Subject: [PATCH] Fix python3.0.x binary not found --- every_python/utils.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/every_python/utils.py b/every_python/utils.py index c64f959..e2ff62b 100644 --- a/every_python/utils.py +++ b/every_python/utils.py @@ -192,7 +192,11 @@ def python_binary_location(builds_dir: Path, build_info: "BuildInfo") -> Path: return debug_binary return builds_dir / build_info.directory_name / "python.exe" else: - return builds_dir / build_info.directory_name / "bin" / "python3" + binary = builds_dir / build_info.directory_name / "bin" / "python3" + fallback_binary = builds_dir / build_info.directory_name / "bin" / "python3.0" + if not binary.exists() and fallback_binary.exists(): + return fallback_binary + return binary @dataclass