Skip to content

Commit

Permalink
Tools: environment_install: install Python packages one-at-a-time
Browse files Browse the repository at this point in the history
helps to work out which packages are causing problems
  • Loading branch information
peterbarker committed Jul 29, 2024
1 parent 3267b91 commit db8f000
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 db8f000

Please sign in to comment.