Retrieval-based-Voice-Conversion-WebUI
Retrieval-based-Voice-Conversion-WebUI copied to clipboard
[BUG] docker build - requirements.txt invalid for newer versions of pip
13.83 WARNING: Ignoring version 2.0.5 of omegaconf since it has invalid metadata:
13.83 Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/e5/f6/043b6d255dd6fbf2025110cea35b87f4c5100a181681d8eab496269f0d5b/omegaconf-2.0.5-py3-none-any.whl (from fairseq==0.12.2->-r requirements.txt (line 7)) has invalid metadata: .* suffix can only be used with `==` or `!=` operators
13.83 PyYAML (>=5.1.*)
13.83 ~~~~~~^
13.83 Please use pip<24.1 if you need to use this version.
quick fix:
# Install Python 3.9 and pip
RUN apt-get update && \
apt-get install -y build-essential python-dev python3-dev python3.9-distutils python3.9-dev python3.9 curl && \
apt-get clean && \
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1 && \
+ curl https://bootstrap.pypa.io/get-pip.py | python3.9 && \
+ pip install pip==24.0
Long-term fix: Rewrite requirements.txt to not include >=