From 281883cd06c6efe550de181fc9736b333774e8de Mon Sep 17 00:00:00 2001 From: Jules van Rie <89742340+julesvanrie@users.noreply.github.com> Date: Sat, 26 Oct 2024 16:52:39 +0200 Subject: [PATCH] Pip check instructs to ask a TA for help (#307) 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.'