Conflicting dependencies.
While trying pip install chatterbox-tts I get this error:
ERROR: Cannot install chatterbox-tts==0.1.0 and chatterbox-tts==0.1.1 because these package versions have conflicting dependencies.
The conflict is caused by:
chatterbox-tts 0.1.1 depends on numpy==1.26.0
chatterbox-tts 0.1.0 depends on numpy==1.26.0```
Not trying to be a smart ass here because I'm actually still installing this so it could happen to me as well. But I'm doing it into a venv just because it makes things easier. Maybe it'll help resolve some of these issues.
python -m venv venv call venv\Scripts\activate.bat pip install chatterbox-tts
Don't listen to me. That's not working properly.
💀
Should be fixed by #35 (specifically https://github.com/resemble-ai/chatterbox/pull/35/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R12)
Also recommend python version 3.12 in a venv for this repo.
Worked fine for me in a conda env with python 3.9
Just had to downgrade torch to 2.6 with CUDA 11.8 to get it working with:
conda create -n chatter python=3.9
pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 --index-url https://download.pytorch.org/whl/cu118
pip install chatterbox-tts
Works perfectly for me!
Works for me on Cuda 12.4 Torch 2.6 Python 3.10.11 I loosened the dependencies since they do not need to be as strict. https://github.com/resemble-ai/chatterbox/compare/master...rsxdalv:chatterbox:loosen
What worked for me was installing Chatterbox first, then installing pytorch for my version of CUDA (12.8) afterwards.
Should be fixed by #35 (specifically https://github.com/resemble-ai/chatterbox/pull/35/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R12)
Also recommend python version 3.12 in a venv for this repo.
using 3.12 with venv is the fix for me on a m2 macbook pro. highly suggest trying first if you run into problem running first commands
Worked fine for me with Python 3.10 venv, pytorch 2.7 (latest release) CUDA 12.8, just to leave the info here in case it's useful for others.
Wasn't working for me on python 3.13, but worked on 3.10. It's using an Numpy 1 instead of 2 and I don't think Numpy 1 is compatible with 3.13.
probably fixed via https://github.com/resemble-ai/chatterbox/pull/35
- "numpy==1.26.0",
+ "numpy~=1.26.0",
Investigated it more and i think it depends on sentence piece which causes NumPy to be v1 causing the python <=3.12 dependency
I just tried an install and hit issues with onnx requiring Python 3.11 and not running with 3.12. Using Docker as a work around is viable though.