mirror of https://github.com/ArduPilot/ardupilot
Tools: environment_install: install Python packages one-at-a-time
helps to work out which packages are causing problems
This commit is contained in:
parent
3267b91160
commit
07599ba570
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue