Scripts Update
This commit is contained in:
13
setup.sh
13
setup.sh
@@ -140,12 +140,15 @@ sudo apt-get install -y \
|
||||
python3-dev \
|
||||
python3-pip \
|
||||
python3-venv \
|
||||
python3-full \
|
||||
python3-pexpect \
|
||||
python3-opencv \
|
||||
python3-matplotlib \
|
||||
python3-lxml \
|
||||
python3-yaml \
|
||||
python3-scipy \
|
||||
python3-future \
|
||||
pipx \
|
||||
libopencv-dev \
|
||||
libxml2-dev \
|
||||
libxslt1-dev \
|
||||
@@ -445,8 +448,14 @@ if [ "$INSTALL_ARDUPILOT" = true ]; then
|
||||
|
||||
print_info "ArduPilot Gazebo plugin built"
|
||||
|
||||
# Install MAVProxy
|
||||
pip3 install --user pymavlink mavproxy pexpect
|
||||
# Install MAVProxy using pipx (required for Ubuntu 23.04+ PEP 668)
|
||||
print_info "Installing MAVProxy..."
|
||||
pipx install MAVProxy --include-deps || {
|
||||
# Fallback: try pip with --break-system-packages
|
||||
pip3 install --user --break-system-packages pymavlink mavproxy 2>/dev/null || \
|
||||
pip3 install --user pymavlink mavproxy 2>/dev/null || \
|
||||
print_warning "MAVProxy installation failed - install manually"
|
||||
}
|
||||
((STEP++))
|
||||
|
||||
# ========================================================================
|
||||
|
||||
Reference in New Issue
Block a user