mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 17:41:35 +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
|
# Python dependencies
|
||||||
echo "Installing PX4 Python3 dependencies"
|
echo "Installing PX4 Python3 dependencies"
|
||||||
sudo pip install --upgrade pip setuptools wheel
|
pip install --upgrade pip setuptools wheel
|
||||||
sudo pip install -r ${DIR}/requirements.txt
|
pip install -r ${DIR}/requirements.txt
|
||||||
|
|
||||||
|
|
||||||
# NuttX toolchain (arm-none-eabi-gcc)
|
# NuttX toolchain (arm-none-eabi-gcc)
|
||||||
|
|||||||
Reference in New Issue
Block a user