From 31da42a485396d3440ca97d9de242a3828adc115 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 5 Jan 2019 19:50:46 +0100 Subject: [PATCH] Show error when no python is found --- setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.sh b/setup.sh index 58aabd507..11a36380c 100755 --- a/setup.sh +++ b/setup.sh @@ -17,6 +17,11 @@ function check_installed_python() { return fi + if [ -z ${PYTHON} ]; then + echo "No usable python found. Please make sure to have python3.6 or python3.7 installed" + exit 1 + fi + } function updateenv () {