diff --git a/setup.sh b/setup.sh
index ca51da535d1ad7747653ddfdf29334ca2b791d98..3e26b7c518015e95ce5002e8a5e7a7957a7c9f29 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
#!/bin/bash
+######################################################################
+version_match=`python -c 'import sys;r=0 if sys.version_info >= (3,7) and sys.version_info < (3,8) else 1;print(r)'`
+if [ $version_match -ne 0 ]; then
+echo 'python version must be 3.7'
+exit 1
+fi
+
######################################################################
# Installing dependencies
echo 'Installing python packages...'