chatterbox icon indicating copy to clipboard operation
chatterbox copied to clipboard

Not able to istall " chatterbox-tts 0.1.1 depends on numpy==1.26.0"

Open a-russkikh opened this issue 6 months ago • 9 comments

Hi! I use your command biut it`s not installing: Error:

c:\AI\Chatterbox TTS>pip install chatterbox-tts Collecting chatterbox-tts Downloading chatterbox_tts-0.1.1-py3-none-any.whl.metadata (5.9 kB) INFO: pip is looking at multiple versions of chatterbox-tts to determine which version is compatible with other requirements. This could take a while. Downloading chatterbox_tts-0.1.0-py3-none-any.whl.metadata (5.9 kB) 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

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

a-russkikh avatar Jun 01 '25 05:06 a-russkikh

Same issue here

saikiranchundru2 avatar Jun 01 '25 07:06 saikiranchundru2

https://github.com/resemble-ai/chatterbox/issues/77#issuecomment-2923368665

DaliDoesAR avatar Jun 01 '25 10:06 DaliDoesAR

Collecting chatterbox-tts
  Using cached chatterbox_tts-0.1.1-py3-none-any.whl.metadata (5.9 kB)
INFO: pip is looking at multiple versions of chatterbox-tts to determine which version is compatible with other requirements. This could take a while.
  Using cached chatterbox_tts-0.1.0-py3-none-any.whl.metadata (5.9 kB)
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

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict


[notice] A new release of pip is available: 25.0.1 -> 25.1.1
[notice] To update, run: python.exe -m pip install --upgrade pip
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts```

On Windows, how do I fix it

WavePlayz avatar Jun 01 '25 12:06 WavePlayz

same problem. tried 'pip install numpy==1.26.0' ... says no such version

ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9 ERROR: Could not find a version that satisfies the requirement numpy==1.26.0 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4, 1.25.0, 1.25.1, 1.25.2, 1.26.2, 1.26.3, 1.26.4, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0rc1, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.3.0rc1) ERROR: No matching distribution found for numpy==1.26.0

Axotopia avatar Jun 01 '25 16:06 Axotopia

same problem. tried 'pip install numpy==1.26.0' ... says no such version

ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9 ERROR: Could not find a version that satisfies the requirement numpy==1.26.0 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4, 1.25.0, 1.25.1, 1.25.2, 1.26.2, 1.26.3, 1.26.4, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0rc1, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.3.0rc1) ERROR: No matching distribution found for numpy==1.26.0

OK, ended up having to create venv with Python 3.11 in Ubuntu and Windows to work. I have a fresh install of ubuntu with Python 3.13, so had to add 3.11 and create new venv environment....

sudo add-apt- repository ppa:deadsnakes/ppa sudo apt update sudo apt install python3.11 python3.11-venv -y python3.11 --version python3.11 -m chatterbox pip install gradio python3.11 gradio_tts_app.py

copy from github the 'gradio_tts_app.py' into chatterbox if it is not there. Had to use 'cpu' instead of CUDA in the py script ... CUDA didn't work on my 1080Ti 8gb VRAM

for those in Windows, maybe try

git clone https://github.com/resemble-ai/chatterbox.git cd chatterbox conda create -n chatterbox python=3.11 conda activate chatterbox pip install chatterbox-tts gradio torch torchaudio

Axotopia avatar Jun 02 '25 02:06 Axotopia

I am on Windows 11. I had to use the below commands:

pipenv --python 3.11 pipenv shell pip install chatterbox-tts

For this to work, I had to install pipenv and pyenv-win.

sourabhsinha396 avatar Jun 03 '25 14:06 sourabhsinha396

I find the requirements generally too strict to include this in projects that also rely on other packages. Is it really necessary to == minor versions in the requirement.txt? As long as there are no known compatibility issues >= could be a good initial guess

stdkoehler avatar Jun 03 '25 18:06 stdkoehler

In its own conda environment: pip install chatterbox-tts .... Installing collected packages: numpy ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. graspologic 3.4.1 requires numpy<2.0.0,>=1.26.4, but you have numpy 1.26.0 which is incompatible.

The issue was resolved by changing the python version with: conda install python=3.11 Then, reinstall: pip install chatterbox-tts

ntsarb avatar Jun 07 '25 13:06 ntsarb

Please support natively also python 3.13 as well.

johnnyontheweb avatar Oct 19 '25 13:10 johnnyontheweb