mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-27 00:42:05 +08:00
fix import check
This commit is contained in:
+4
-4
@@ -77,13 +77,13 @@ function launch {
|
||||
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"
|
||||
if ! (LD_LIBRARY_PATH=$DIR/third_party/libspatialindex/larch64/lib/ python -c "import rtree") &> /dev/null; then
|
||||
pip install "$DIR/dp_ext/selfdrive/tetood/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"
|
||||
if ! (LD_LIBRARY_PATH=$DIR/third_party/libspatialindex/x86_64/lib/ python -c "import rtree") &> /dev/null; then
|
||||
pip install "$DIR/dp_ext/selfdrive/tetood/pkgs/Rtree-1.2.0-cp312-cp312-linux_x86_64.whl"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user