Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain Gadrat committed Sep 19, 2023
1 parent c3dd661 commit 4fcf265
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions deps/build-deps.d/00-python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ set -e
out_dir=$(readlink -f "$(dirname "$0")/..")

if [ "$UID" -eq 0 -o ! -z "$FORCE_INSTALLS" ]; then
sudo apt install -y python pip
pip install --upgrade pillow
sudo apt install -y python3 python3-pip python-is-python3
pip3 install -U pip

if which pip > /dev/null 2>&1 ; then
pip_cmd=pip
else
pip_cmd=pip3
fi

$pip_cmd install --upgrade pillow
fi

0 comments on commit 4fcf265

Please sign in to comment.