Linux build fails on Arch
$ just setup
Creating Python virtual environment...
Warning: Python 3.14 detected. ML packages may not be compatible.
Recommended: brew install [email protected]
Installing Python dependencies...
Looking in links: https://k2-fsa.github.io/icefall/piper_phonemize.html
Collecting linacodec @ git+https://github.com/ysharma3501/LinaCodec.git (from -r backend/requirements.txt (line 21))
Cloning https://github.com/ysharma3501/LinaCodec.git to /tmp/pip-install-idq83_qq/linacodec_9ff45d6f9e93476ea47be0902034a2ad
Running command git clone --filter=blob:none --quiet https://github.com/ysharma3501/LinaCodec.git /tmp/pip-install-idq83_qq/linacodec_9ff45d6f9e93476ea47be0902034a2ad
Resolved https://github.com/ysharma3501/LinaCodec.git to commit c0ae7c7285e121475c27592cfbb600624b714290
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting Zipvoice @ git+https://github.com/ysharma3501/LuxTTS.git (from -r backend/requirements.txt (line 22))
Cloning https://github.com/ysharma3501/LuxTTS.git to /tmp/pip-install-idq83_qq/zipvoice_cbae9510aa9e422684b444fa18d25372
Running command git clone --filter=blob:none --quiet https://github.com/ysharma3501/LuxTTS.git /tmp/pip-install-idq83_qq/zipvoice_cbae9510aa9e422684b444fa18d25372
Resolved https://github.com/ysharma3501/LuxTTS.git to commit 381b1609cb1d1afbf756b87809c623464cfd8ac5
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting en_core_web_sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl (from -r backend/requirements.txt (line 48))
Downloading https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl (12.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.8/12.8 MB 92.8 MB/s 0:00:00
Collecting fastapi>=0.109.0 (from -r backend/requirements.txt (line 2))
Using cached fastapi-0.135.1-py3-none-any.whl.metadata (30 kB)
Collecting uvicorn>=0.27.0 (from uvicorn[standard]>=0.27.0->-r backend/requirements.txt (line 3))
Using cached uvicorn-0.42.0-py3-none-any.whl.metadata (6.7 kB)
Collecting pydantic>=2.5.0 (from -r backend/requirements.txt (line 4))
Using cached pydantic-2.12.5-py3-none-any.whl.metadata (90 kB)
Collecting sqlalchemy>=2.0.0 (from -r backend/requirements.txt (line 7))
Using cached sqlalchemy-2.0.48-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (9.5 kB)
Collecting alembic>=1.13.0 (from -r backend/requirements.txt (line 8))
Using cached alembic-1.18.4-py3-none-any.whl.metadata (7.2 kB)
Collecting torch>=2.7.0 (from -r backend/requirements.txt (line 11))
Using cached torch-2.10.0-3-cp314-cp314-manylinux_2_28_x86_64.whl.metadata (31 kB)
Collecting transformers<=4.57.6,>=4.36.0 (from -r backend/requirements.txt (line 12))
Using cached transformers-4.57.6-py3-none-any.whl.metadata (43 kB)
Collecting accelerate>=0.26.0 (from -r backend/requirements.txt (line 13))
Using cached accelerate-1.13.0-py3-none-any.whl.metadata (19 kB)
Collecting huggingface_hub>=0.20.0 (from -r backend/requirements.txt (line 14))
Downloading huggingface_hub-1.7.2-py3-none-any.whl.metadata (13 kB)
Collecting qwen-tts>=0.0.5 (from -r backend/requirements.txt (line 15))
Using cached qwen_tts-0.1.1-py3-none-any.whl.metadata (61 kB)
Collecting conformer>=0.3.2 (from -r backend/requirements.txt (line 27))
Using cached conformer-0.3.2-py3-none-any.whl.metadata (631 bytes)
Collecting diffusers>=0.29.0 (from -r backend/requirements.txt (line 28))
Using cached diffusers-0.37.0-py3-none-any.whl.metadata (20 kB)
Collecting omegaconf (from -r backend/requirements.txt (line 29))
Using cached omegaconf-2.3.0-py3-none-any.whl.metadata (3.9 kB)
Collecting pykakasi (from -r backend/requirements.txt (line 30))
Using cached pykakasi-2.3.0-py3-none-any.whl.metadata (5.9 kB)
Collecting resemble-perth>=1.0.1 (from -r backend/requirements.txt (line 31))
Using cached resemble_perth-1.0.1-py3-none-any.whl.metadata (4.8 kB)
Collecting s3tokenizer (from -r backend/requirements.txt (line 32))
Using cached s3tokenizer-0.3.0-py3-none-any.whl.metadata (7.2 kB)
Collecting spacy-pkuseg (from -r backend/requirements.txt (line 33))
Using cached spacy_pkuseg-1.0.1.tar.gz (2.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pyloudnorm (from -r backend/requirements.txt (line 34))
Using cached pyloudnorm-0.2.0-py3-none-any.whl.metadata (6.6 kB)
Collecting torchaudio (from -r backend/requirements.txt (line 41))
Downloading torchaudio-2.10.0-cp314-cp314-manylinux_2_28_x86_64.whl.metadata (6.7 kB)
ERROR: Ignored the following versions that require a different python version: 0.8.1 Requires-Python >=3.10,<3.13; 0.8.2 Requires-Python >=3.10,<3.13; 0.8.3 Requires-Python >=3.10,<3.13; 0.8.4 Requires-Python >=3.10,<3.13; 0.9.2 Requires-Python >=3.10,<3.13; 0.9.4 Requires-Python >=3.10,<3.13
ERROR: Could not find a version that satisfies the requirement kokoro>=0.9.4 (from versions: 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.6, 0.7.8, 0.7.9, 0.7.11, 0.7.12, 0.7.13, 0.7.14, 0.7.15, 0.7.16)
ERROR: No matching distribution found for kokoro>=0.9.4
error: Recipe `setup-python` failed with exit code 1
Build fails at setup due to incorrect python version. I think it uses the system python, which is always going to be up-to-date on Arch. I used AI to troubleshoot and it suggested editing the justfile with this diff
│ 18 set windows-shell := ["powershell", "-NoProfile", "-Command"] │
│ 19 │
│ 20 # Detect best python for venv creation (platform-aware) │
│ 21 - system_python := if os() == "windows" { "python" } else { `command -v python3.12 2>/dev/null || command -v python3.13 2>/dev/null || echo python3` } │
│ 21 + system_python := if os() == "windows" { "python" } else { `command -v python3.12 2>/dev/null || command -v python3.13 2>/dev/null || uv python find 3.12 │
│ 2>/dev/null || uv python find 3.13 2>/dev/null || echo python3` }
After accepting the diff, I ran just clean-python setup-python then just setup then just build and the build of the .deb appears successful (but I am running Arch and can't use it) and it has stalled for about 40 minutes building the .rpm and I can't tell if it will finish or not.
I had a bunch of issues trying to install on Garuda Linux. (also Arch) The issues seemed to stem from using GCC14 instead of the recommended GCC13, as well as Python 3.14 over 3.12. I switched to Ubuntu 24.04 LTS and it worked. (the building, that is... I'm still trying to get CUDA working due to a number of dead links hard-coded in the program)
I was able to use distrobox to run Ubuntu and generate the .deb. It still failed to make the rpm, which I did not need anyway.
I am using Ubuntu 24.04 and appeared to run into similar issue regarding the RPM bundling with just build. I've tried to change the build bundle target in tauri.conf.json from all to deb but the build process stilled failed. I think I can run the voicebox binary but not via just dev. I would love to hear how others got around this issue.
EDIT: As I only wanted to run Voicebox on Linux as a server, I got around this issue by: just dev-web
It appears I didn't have to do just build for what I wanted, or even just setup for that matter after I deleted and then repulled the repo.
Even after building the deb successfully with distrobox, the engine crashes when I generate audio, so it is useless on Linux
I'm on Arch too (well, CachyOs), and I managed to make it work by using a version manager, specifically mise to set Python 3.12: mise use [email protected] in the voicebox directory, then just setup worked alright. This sets Python 3.12 only for that project via a .toml file. If you prefer to set it globally, use mise use -g [email protected].
I'm on Arch too (well, CachyOs), and I managed to make it work by using a version manager, specifically mise to set Python 3.12:
mise use [email protected]in the voicebox directory, thenjust setupworked alright. This sets Python 3.12 only for that project via a .toml file. If you prefer to set it globally, usemise use -g [email protected].
Thanks, it's working
Yeah, it just seems to not work with python3.13 Installing python 3.12 fixed it for me.
After accepting the diff, I ran
just clean-python setup-pythonthenjust setupthenjust buildand the build of the .deb appears successful (but I am running Arch and can't use it) and it has stalled for about 40 minutes building the .rpm and I can't tell if it will finish or not.
Similar to what happened to @benmordecai, .rpm build stalled for more than 2hr when running just build . I had to stopped it without any success.
I'm using Omarchy 3.8.1 (Linux 7.0.3-arch1-2) and Python 3.12.13.
Anyone had any success I need the RPM file and the build is taking forever not using the whole CPU just one core at a time?
#624 fixes it, use that
Still getting some issues with transcription on Arch linux despite the Python 3.12. Has anyone tested that ?
It will load forever and never finish or will give me a load error
I'm on Arch too (well, CachyOs), and I managed to make it work by using a version manager, specifically mise to set Python 3.12:
mise use [email protected]in the voicebox directory, thenjust setupworked alright. This sets Python 3.12 only for that project via a .toml file. If you prefer to set it globally, usemise use -g [email protected].
For those not fluent with mise, I had to run :
mise use [email protected]
then :
mise exec [email protected] -- just setup
in the 'voicebox' directory for the correct python version to be used.
This is fixed by #1144 (prepared from #1031, thanks @dhananjaypai08): the dev setup now pins its virtualenv to Python 3.12, so numba and the rest of the stack install cleanly regardless of the system Python. It is part of Voicebox 0.6.0. The 0.6.0 build is cut and is waiting on an Apple Developer account issue that blocks notarizing the macOS release; it will be published as soon as that clears. Closing as fixed; if setup still fails on 0.6.0 once it is out, please reopen with the error.