Incorrect: Python: Version 3.10 or later
I keep seeing "or later" added to all these PyTorch-based projects.
This is provably, factually incorrect.
$ uname -a
Linux hostname 6.15.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 10 Jun 2025 21:32:33 +0000 x86_64 GNU/Linux
$ git clone https://github.com/devnen/Chatterbox-TTS-Server.git chatterbox
$ cd chatterbox
$ python --version
Python 3.13.3
Note that 3.13.3 is later than 3.10, as per the documentation, yet following the instructions verbatim fails:
$ python -m venv venv
$ source venv/bin/activate
$ pip install --upgrade pip
$ pip install -r requirements-nvidia.txt
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121
Collecting git+https://github.com/devnen/chatterbox.git (from -r requirements-nvidia.txt (line 16))
Cloning https://github.com/devnen/chatterbox.git to /tmp/pip-req-build-g6o46xip
Running command git clone --filter=blob:none --quiet https://github.com/devnen/chatterbox.git /tmp/pip-req-build-g6o46xip
Resolved https://github.com/devnen/chatterbox.git to commit 0f72c43e5a96a6b05c03d0cfc38f84b0357ddd9f
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting torch==2.5.1 (from -r requirements-nvidia.txt (line 9))
Downloading https://download.pytorch.org/whl/cu121/torch-2.5.1%2Bcu121-cp313-cp313-linux_x86_64.whl (780.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 780.4/780.4 MB 44.2 MB/s eta 0:00:00
ERROR: Ignored the following yanked versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3
ERROR: Could not find a version that satisfies the requirement torchvision==0.20.1 (from versions: 0.1.6, 0.2.0, 0.21.0, 0.22.0, 0.22.1)
ERROR: No matching distribution found for torchvision==0.20.1
It doesn't matter that Chatterbox may be fine with 3.13. If its transitive dependencies fail with 3.13, then, by extension, Chatterbox does not support 3.13 and the documentation is misleading at best.
See also: https://github.com/petermg/Chatterbox-TTS-Extended/issues/16
(on Ubuntu) I run into this error. What should I do to fix this?
Update: Nevermind. Via conda I created an virtual environment with python 3.10.18 Doing that get it to work.
conda create -n chatterboxserver python=3.10.18 conda activate chatterboxserver
Updated in commit a67348a. The README now clearly recommends Python 3.10 specifically, and notes that Python 3.13+ is not supported. The badge has been updated accordingly.
On Windows, the launcher's Portable Mode automatically uses an embedded Python 3.10 runtime regardless of your system Python version, which avoids these compatibility issues entirely.
Thanks to @maglat for raising this.
"Works with any system Python 3.10 or newer. On Python 3.11+, Portable Mode also resolves dependency compatibility issues automatically."
You're right, the wording was still inconsistent even after the previous update.
All 11 Python version references across the README now consistently state that "Python 3.10 is required" (not just recommended).
Thanks for following up on this.
"Works with any system Python 3.10+, but the embedded runtime always uses Python 3.10 — the only fully supported version. If your system Python is 3.11+, Portable Mode is the easiest way to avoid dependency issues on Windows."
That's confusing.
- Premise A: "Works with any system Python 3.10+" (Implies compatibility with 3.10, 3.11, 3.12, etc.)
- Premise B: "...Python 3.10 — the only fully supported version."
If Python 3.10 is the only fully supported version, then the software does not genuinely "work with" 3.11+. Claiming it works with 3.11+ while simultaneously pulling back support for anything other than 3.10 is a paradox. If something goes wrong on 3.11, the developer's defense will be that it wasn't "fully supported," rendering the first claim false.
Why not simply state, "Requires Python 3.10" and be done with it?
Alternatively:
"This software requires Python 3.10. While you can attempt to run it using a system installation of Python 3.11+, it is not officially supported and you will likely encounter dependency issues. To avoid this, we recommend using Portable Mode, which runs safely on an embedded Python 3.10 environment regardless of what is installed on your system."