mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 08:40:30 +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:
1 parent
50c5150471
commit
c09ea2a9b0
1 file changed
+2
-2
+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