From 281543f831f70a950f71e8250a1fe54560ab8903 Mon Sep 17 00:00:00 2001 From: Rick Lan Date: Tue, 9 Jul 2024 15:45:47 +0800 Subject: [PATCH] install dependencies --- launch_chffrplus.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/launch_chffrplus.sh b/launch_chffrplus.sh index 9256f463a..aaf4df148 100755 --- a/launch_chffrplus.sh +++ b/launch_chffrplus.sh @@ -76,6 +76,15 @@ function launch { # hardware specific init if [ -f /AGNOS ]; then agnos_init + # dp + if ! pip show "rtree" > /dev/null 2>&1; then + pip install "$DIR/dp_ext/selfdrive/tetoo/pkgs/Rtree-1.2.0-cp311-cp311-linux_aarch64.whl" + fi + else + # dp + if ! pip show "rtree" > /dev/null 2>&1; then + pip install "$DIR/dp_ext/selfdrive/tetoo/pkgs/Rtree-1.2.0-cp312-cp312-linux_x86_64.whl" + fi fi # write tmux scrollback to a file