From 8574ed0796bb6e34c5ebd2eaa9fc913df21ce39a Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Mon, 31 May 2021 18:32:48 -0400 Subject: [PATCH] fix dockerfile --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b01f555508..9bba6a2ecc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -126,10 +126,13 @@ WORKDIR / COPY models/tacotron2 ./models/tacotron2 WORKDIR models/tacotron2 -RUN python3.8 -m venv python +# NB: Not sure if we need Python3.6 for Tacotron2, but Python3.8 gave me trouble. +# NB: Setuputils fix: https://github.com/tensorflow/tensorflow/issues/34302#issuecomment-554450289 +RUN python3.6 -m venv python RUN . python/bin/activate \ && pip install --upgrade pip \ - && pip install -r requirements.txt \ + && python -m pip install --upgrade pip setuptools + && pip install -r requirements-working-2021-05-31.txt \ && deactivate # ==================== Rust Build Base ====================