diff --git a/configure b/configure index 7a299f3e274..66b66ba54ed 100755 --- a/configure +++ b/configure @@ -4,7 +4,7 @@ set -e set -o pipefail if [ -z "$PYTHON_BIN_PATH" ]; then - PYTHON_BIN_PATH=$( which python3 || true) + PYTHON_BIN_PATH=$(which python || which python3 || true) fi # Set all env variables