Attempt to make pip install actually work by upgrading it first

Old pip versions don't work when used with python3, so upgrade pip
before trying to use it.
This commit is contained in:
Vadim Zeitlin 2021-04-04 01:29:29 +02:00
parent da0f6bd2a6
commit d5d28e639e

View File

@ -36,6 +36,11 @@ httpbin_launch() {
*)
# Elsewhere just use Python 3.
PY3=3
# Running pip install fails with weird errors out of the box when
# using old pip version because it attempts to use python rather
# than python3, so upgrade it to fix this.
python3 -m pip install --upgrade pip setuptools wheel
;;
esac