Chatterbox-TTS-Server icon indicating copy to clipboard operation
Chatterbox-TTS-Server copied to clipboard

No matching distribution found for torch==2.5.1

Open theEpicjosh opened this issue 1 year ago • 16 comments

I am using Windows 11 and am using Powershell in order to install the Chatterbox TTS Server.

I have cloned the repo to my home directory, created a python environment, and attempted to install the requirements. However, when I run the command python -m pip install -r requirements-nvidia.txt on to Powershell, I get these logs:

(venv) PS C:\Users\[username]\Chatterbox-TTS-Server> python -m 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 c:\users\josh\appdata\local\temp\pip-req-build-xw6bgbv6
  Running command git clone --filter=blob:none --quiet https://github.com/devnen/chatterbox.git 'C:\Users\[username]\AppData\Local\Temp\pip-req-build-xw6bgbv6'
  Resolved https://github.com/devnen/chatterbox.git to commit a6db1d6fbecea30949fd97ad19d8013498d917ed
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
ERROR: Could not find a version that satisfies the requirement torch==2.5.1 (from versions: 2.9.0)
ERROR: No matching distribution found for torch==2.5.1

I understand that version control is crucial for this app, but it doesn't seem that the version of torch that needs to be downloaded in order for the server to work exists according to the logs. Is there another version worth installing? If not, is there an alternative dependency I could install?

If not, is there an alternate way of installing? (a la Docker Compose?)

theEpicjosh avatar Nov 10 '25 03:11 theEpicjosh

Hello, I wanted to preface this by saying that it has been three weeks without any reply. I was just wondering what the status of this issue is. Thank you!

theEpicjosh avatar Nov 27 '25 19:11 theEpicjosh

Just got this as well.

ERROR: Could not find a version that satisfies the requirement torch==2.5.1+cu121 (from versions: 2.6.0, 2.7.0, 2.7.1, 2.8.0, 2.9.0, 2.9.1) ERROR: No matching distribution found for torch==2.5.1+cu121

arces avatar Dec 17 '25 08:12 arces

same

DeletedNobody avatar Dec 17 '25 10:12 DeletedNobody

I also found a problem

gamilux avatar Dec 17 '25 12:12 gamilux

Ditto on arces' error log, struggling with this issue as well.

CptDalek avatar Dec 21 '25 04:12 CptDalek

I'm getting this error as well during initial setup. If anyone finds a workaround for this, please share. I'm trying to see what I can do in the meantime.

BossMan1991 avatar Dec 21 '25 22:12 BossMan1991

I ended up installing it on my Mac. Had to go back and forth with Gemini 3 Pro many times and tell it what is messing up and it figured it out. Don't ask me how, dependecy hell with python is real. They really need to move to a better package set up like poetry or something else...

arces avatar Dec 22 '25 09:12 arces

I ended up installing it on my Mac. Had to go back and forth with Gemini 3 Pro many times and tell it what is messing up and it figured it out. Don't ask me how, dependecy hell with python is real. They really need to move to a better package set up like poetry or something else...

I had a similar experience on my M1 Mac Mini. It looked like it was trying to install onnx which is not needed for this to work. Used conda for installation. And to get it working with MPS (which is way better than CPU), I had to manually update the config.yaml and set "device: mps" even though the scripts seemed to be checking for MPS. Now to see if this Turbo version is faster and better than the standard version - it seems to be missing some of the options from the standard version.

appsteve avatar Dec 22 '25 12:12 appsteve

same

Matzebhv avatar Jan 03 '26 22:01 Matzebhv

Downgrade python to 3.10.x works for me.

Matzebhv avatar Jan 04 '26 19:01 Matzebhv

The following solution helps:

after cloning this repo, navigate into the root folder

install python 3.10 virtualy, for example with uv, and activate it:

uv venv --python 3.10
.\.venv\Scripts\activate

reinstall everything with activated virtual python 3.10:

python start.py --reinstall --verbose

dee1337 avatar Jan 09 '26 14:01 dee1337

The following solution helps:

after cloning this repo, navigate into the root folder

install python 3.10 virtualy, for example with uv, and activate it:

uv venv --python 3.10
.\.venv\Scripts\activate

reinstall everything with activated virtual python 3.10:

python start.py --reinstall --verbose

Hello. Where is start.py?

theEpicjosh avatar Jan 10 '26 02:01 theEpicjosh

Fixed in commit a67348a. The torch==2.5.1+cu121 wheels are available for Python 3.10-3.12 but not Python 3.13+ — this is the root cause of the "No matching distribution found" errors many of you hit.

Changes:

  • README now clearly recommends Python 3.10 (3.13+ explicitly noted as unsupported)
  • Chatterbox installed with --no-deps to prevent resolver conflicts
  • On Windows, the launcher's Portable Mode automatically uses Python 3.10

To update: git pull && python start.py --reinstall

Thanks to @dee1337, @Matzebhv, @fahad-cpp, and others who confirmed Python 3.10 resolves this.

devnen avatar Mar 26 '26 22:03 devnen

Closing, this was tied to the old torch 2.5.1 pin. Requirements have moved on, current paths are requirements-nvidia-cu128.txt (torch 2.9, CUDA 12.8) and requirements-nvidia-cu130.txt (torch 2.10, CUDA 13). On Windows, the easiest route is python start.py which sets up the venv and picks the right requirements file for you. Please reopen if you still hit it after a fresh checkout.

devnen avatar May 11 '26 14:05 devnen

Hi, I've just cloned the repo and tried the installer, and I've run into this issue.

      → Upgrading pip...
Requirement already satisfied: pip in ./venv/lib/python3.14/site-packages (26.1.2)
      ✓ pip upgraded

      → Installing from requirements.txt...
      → Running: "/Users/xyz/Desktop/Chatterbox-TTS-Server/venv/bin/pip" install --no-warn-script-location -r "/Users/xyz/Desktop/Chatterbox-TTS-Server/requirements.txt"
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cpu
ERROR: Could not find a version that satisfies the requirement torch==2.5.1 (from versions: 2.9.0, 2.9.1, 2.10.0, 2.11.0, 2.12.0, 2.12.1)
ERROR: No matching distribution found for torch==2.5.1
      ✗ Dependency installation failed

============================================================
   Installation failed!
============================================================

Troubleshooting tips:

  1. Check your internet connection
  2. Try running with --verbose for more details:
     python start.py --reinstall --verbose

  3. Check if you have enough disk space

  4. Try installing manually:
     pip install -r requirements.txt


============================================================
Server exited with an error (code: 1)
============================================================



Manual dependency installation equally fails.

pip3 --version
pip 26.1.2 from /Users/xyz/Desktop/Chatterbox-TTS-Server/venv/lib/python3.14/site-packages/pip (python 3.14)

python3 --version
Python 3.14.6

Franchovy avatar Jun 30 '26 17:06 Franchovy

Ok, the installation works, I had to pin the right version of python. Thanks @theEpicjosh .

This is the macos / python3 version:

uv venv --python 3.10
source .venv/bin/activate
python3 start.py --reinstall --verbose

Franchovy avatar Jun 30 '26 18:06 Franchovy