Skip to content

Commit

Permalink
Tools: environment_install: fix focal install
Browse files Browse the repository at this point in the history
this was only intended to narrow an error being seen with Focal, but appears to fix it instead
  • Loading branch information
peterbarker committed Jul 29, 2024
1 parent 3267b91 commit 2fe6940
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Tools/environment_install/install-prereqs-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,11 @@ if [ ${RELEASE_CODENAME} == 'bookworm' ] ||
$PIP install $PIP_USER_ARGUMENT -U attrdict3
fi

$PIP install $PIP_USER_ARGUMENT -U $PYTHON_PKGS
# install Python packages one-at-a-time so it is clear which package
# is causing problems:
for PACKAGE in $PYTHON_PKGS; do
$PIP install $PIP_USER_ARGUMENT -U $PACKAGE
done

if [[ -z "${DO_AP_STM_ENV}" ]] && maybe_prompt_user "Install ArduPilot STM32 toolchain [N/y]?" ; then
DO_AP_STM_ENV=1
Expand Down

0 comments on commit 2fe6940

Please sign in to comment.