From d5d28e639e4ad3952508c226691e7e4f9a41a981 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 4 Apr 2021 01:29:29 +0200 Subject: [PATCH] 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. --- build/tools/httpbin.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/tools/httpbin.sh b/build/tools/httpbin.sh index bc09d9dd54..6926979923 100644 --- a/build/tools/httpbin.sh +++ b/build/tools/httpbin.sh @@ -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