From 611021dc5a38a8bf2c8ec5356c13f8c425e914dc Mon Sep 17 00:00:00 2001 From: Jules van Rie Date: Sat, 26 Oct 2024 16:48:20 +0200 Subject: [PATCH] Pip check instructs to ask a TA for help Previously we instructed to `pip install` the missing packages. This leads to a very different setup than we aim for, because no version numbers are provided. Changed this to: - list the packages - instruct the students to call in a TA - note to TA to redo the Python packages step (usually the root cause is that Apple users skipped that step) --- checks/pip_check.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/checks/pip_check.sh b/checks/pip_check.sh index d97c33d..8be8aac 100644 --- a/checks/pip_check.sh +++ b/checks/pip_check.sh @@ -41,11 +41,11 @@ for r in ${REQUIRED[@]}; do fi done if (( ${#missing[@]} )); then - sentence='Try to `pip install ' + sentence='❌ Some packages are missing: ' sentence+=$missing - sentence+='` again.' - echo '❌ Some packages are missing:' echo $sentence + echo '👉 Ask a TA for help to check your python setup.' + echo ' Note to TAs: First thing to do: redo the Python packages step of the instructions.' exit 1 else echo '✅ Everything is fine, continue the setup instructions.'