Retrieval-based-Voice-Conversion-WebUI icon indicating copy to clipboard operation
Retrieval-based-Voice-Conversion-WebUI copied to clipboard

Error creating Docker image in requirements.txt for praat-parselmouth and onnxruntime-gpu packages

Open ridleytech opened this issue 1 year ago • 2 comments

When running docker build -t rt/voice-conversion-ui, I get these errors on a Mac with M1

onnxruntime-gpu error:

ERROR: Could not find a version that satisfies the requirement onnxruntime-gpu (from versions: none) #18 17.32 ERROR: No matching distribution found for onnxruntime-gpu

praat-parselmouth error:

Failed to build praat-parselmouth #18 257.4 ERROR: Could not build wheels for praat-parselmouth, which is required to install pyproject.toml-based project

I also tried commenting them out in requirements.txt and adding them to the Dockerfile and got the same result.

RUN pip install praat-parselmouth RUN pip3 install onnxruntime-gpu

How do I fix these errors?

ridleytech avatar Feb 24 '24 18:02 ridleytech

same here

ouarrtaha avatar Apr 19 '24 05:04 ouarrtaha

I fixed that by removing onnxruntime-gpu; sys_platform != 'darwin'from requirements.txt, and updating dockerfile to install libx11-dev

...
# Install dependencies to add PPAs
RUN apt-get update && \
    apt-get install -y -qq ffmpeg aria2 libx11-dev && apt clean && \
    apt-get install -y software-properties-common && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*
    ...

ouarrtaha avatar Apr 19 '24 06:04 ouarrtaha

This issue was closed because it has been inactive for 15 days since being marked as stale.

github-actions[bot] avatar Jun 05 '24 04:06 github-actions[bot]