Skip to content

Commit

Permalink
[internal] Err out with helpful message if no Python found. (pantsbui…
Browse files Browse the repository at this point in the history
…ld#18407)

Closes pantsbuild#17533

I ran into this with a borked environment, and this would've saved me
quite a few brain-cycles.
  • Loading branch information
kaos authored Mar 4, 2023
1 parent c9def21 commit f6147ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build-support/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ function determine_python() {
fi
echo "${interpreter_path}" && return 0
done
echo "pants: failed to find suitable Python interpreter, looking for: ${candidate_versions[*]}" >&2
return 1
}

function is_macos_arm() {
Expand Down

0 comments on commit f6147ce

Please sign in to comment.