mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-20 16:17:34 +08:00
arch.sh: don't execute pip as root
otherwise packages get installed in /root/.local/lib/python3.7/site-packages
This commit is contained in:
+2
-2
@@ -69,8 +69,8 @@ sudo pacman -Sy --noconfirm --needed \
|
||||
|
||||
# Python dependencies
|
||||
echo "Installing PX4 Python3 dependencies"
|
||||
sudo pip install --upgrade pip setuptools wheel
|
||||
sudo pip install -r ${DIR}/requirements.txt
|
||||
pip install --upgrade pip setuptools wheel
|
||||
pip install -r ${DIR}/requirements.txt
|
||||
|
||||
|
||||
# NuttX toolchain (arm-none-eabi-gcc)
|
||||
|
||||
Reference in New Issue
Block a user