Skip to content

Commit

Permalink
arch.sh: don't execute pip as root
Browse files Browse the repository at this point in the history
otherwise packages get installed in
/root/.local/lib/python3.7/site-packages
  • Loading branch information
MaEtUgR committed Oct 12, 2019
1 parent 50c5150 commit c09ea2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/setup/arch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c09ea2a

Please sign in to comment.