mirror of https://github.com/coqui-ai/TTS.git
build: update pip and setuptools in dockerfile
Otherwise a form of this issue occurs due to older setuptools not supporting pyproject.toml: https://github.com/pypa/setuptools/issues/3269 Might be resolved on Ubuntu 24.04 images.
This commit is contained in:
parent
0504ae3a02
commit
129b488614
|
@ -3,6 +3,7 @@ FROM ${BASE}
|
|||
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
RUN apt-get install -y --no-install-recommends gcc g++ make python3 python3-dev python3-pip python3-venv python3-wheel espeak-ng libsndfile1-dev && rm -rf /var/lib/apt/lists/*
|
||||
RUN pip3 install -U pip setuptools
|
||||
RUN pip3 install llvmlite --ignore-installed
|
||||
|
||||
# Install Dependencies:
|
||||
|
|
|
@ -11,6 +11,7 @@ RUN apt-get install -y --no-install-recommends \
|
|||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Major Python Dependencies:
|
||||
RUN pip3 install -U pip setuptools
|
||||
RUN pip3 install llvmlite --ignore-installed
|
||||
RUN pip3 install torch torchaudio --extra-index-url https://download.pytorch.org/whl/cu118
|
||||
RUN rm -rf /root/.cache/pip
|
||||
|
|
Loading…
Reference in New Issue