From 50525206d59272ffb79efb218fbeee1f217b2756 Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Tue, 16 May 2023 12:30:31 +0200 Subject: [PATCH] Tools: apt install python-wxgtk on Lunar as pip install is hard to manage --- Tools/environment_install/install-prereqs-ubuntu.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/environment_install/install-prereqs-ubuntu.sh b/Tools/environment_install/install-prereqs-ubuntu.sh index 34ea95d58e..b1eea1460d 100755 --- a/Tools/environment_install/install-prereqs-ubuntu.sh +++ b/Tools/environment_install/install-prereqs-ubuntu.sh @@ -292,7 +292,8 @@ if [[ $SKIP_AP_GRAPHIC_ENV -ne 1 ]]; then fi if [ ${RELEASE_CODENAME} == 'lunar' ]; then - PYTHON_PKGS+=" wxPython opencv-python" + PYTHON_PKGS+=" opencv-python" + SITL_PKGS+=" python3-wxgtk4.0" SITL_PKGS+=" fonts-freefont-ttf libfreetype6-dev libpng16-16 libportmidi-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev" # for pygame elif [ ${RELEASE_CODENAME} == 'bullseye' ] || [ ${RELEASE_CODENAME} == 'groovy' ] ||