-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
First of all, loved this project idea! Thank you so much for putting the effort in delivering this.
I'm not a big fan of downloading prepackaged docker containers, so i tried to build the Dockerfile you provided, found in MusicContainer directory. Unfortunately, i got the following error ERROR: Package 'flax' requires a different Python: 3.10.12 not in '>=3.11' on
RUN git clone https://github.com/magenta/magenta-realtime.git && \
sed -i "s/DEFAULT_SOURCE = 'gcp'/DEFAULT_SOURCE = 'hf'/" magenta-realtime/magenta_rt/asset.py && \
pip install -e magenta-realtime/[gpu]
Specifically when installing magenta-realtime/[gpu]
I updated the python system version, in the Dockerfile, to 3.11, along with venv, dev and distutils and it worked out for me.
# System packages
RUN apt update && apt install -y \
python3.11 python3.11-venv python3.11-dev python3.11-distutils \
build-essential cmake git curl wget \
libffi-dev libssl-dev libsndfile1 ffmpeg \
&& rm -rf /var/lib/apt/lists/*
# Set up Python 3.11 as default
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.11 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels