chatterbox icon indicating copy to clipboard operation
chatterbox copied to clipboard

[Bug]: Installation fails on Google Colab due to Dependency Conflicts

Open ahmadshajhan opened this issue 3 weeks ago • 2 comments

Describe the bug I attempted to run the Chatterbox repository on Google Colab using the standard installation steps. The installation process fails during pip install -r requirements.txt. It appears that some of the pinned library versions in requirements.txt are too old or incompatible with the current Google Colab runtime (Python 3.10+ environments).

To Reproduce Steps to reproduce the behavior:

  1. Open a new Google Colab notebook.
  2. Clone the repository: !git clone https://github.com/resemble-ai/chatterbox.git
  3. Install dependencies: !pip install -r requirements.txt
  4. See error: The installation fails with version conflict errors (specifically related to numpy, scipy, or gradio dependencies).

Expected behavior The installation should complete successfully, and the Gradio interface should launch within the Colab environment.

Environment (please complete the following information):

  • Platform: Google Colab (Linux)
  • Python Version: 3.10
  • GPU: T4

Proposed Solution / Contribution I would like to contribute a fix for this. The issue seems to be outdated package versions.

  • The requirements.txt needs to be updated to support newer versions of libraries compatible with modern Colab environments.
  • Alternatively, providing a separate colab_requirements.txt or a Dockerfile configuration could solve this.

I am willing to work on updating the dependencies and submitting a Pull Request (PR) to fix this compatibility issue.

ahmadshajhan avatar Dec 25 '25 18:12 ahmadshajhan

I have successfully submitted the issue regarding the Google Colab dependency conflicts. As a dedicated user, I am eager to contribute and resolve this. My voice profile, similar to the one I'm currently using, is ready for testing any potential fixes. I will monitor the feedback and submit a Pull Request to update the requirements.txt file shortly.

ahmadshajhan avatar Dec 25 '25 18:12 ahmadshajhan