From c61aebd5572ba657d9f8c8c65acc66a585dfd720 Mon Sep 17 00:00:00 2001 From: Roman Davydov <15850461+rdavydov@users.noreply.github.com> Date: Thu, 17 Nov 2022 20:08:34 +0300 Subject: [PATCH] alias python=python3.7 for armv7 apt's version of numpy is for python 3.7. And it doesn't work with python 3.8. So I guess we're gonna have to downgrade to python 3.7 on armv7. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 3beb67b..3923175 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,6 +31,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-ins && if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \ apt-get -y install python-pandas; \ sed -i '/pandas/d' requirements.txt; \ + alias python=python3.7; \ fi \ && pip install -r requirements.txt \ && pip cache purge \