-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
概要 (Summary)
Google Colabの最新ランタイム環境(Python 3.12.12)において、TTS ライブラリの安定版(例: 0.22.0)および開発版 (git+https...) のいずれも、依存関係のビルド段階で失敗し、インストールできません。
環境 (Environment)
- OS/ランタイム: Google Colab (最新環境)
- Python Version: 3.12.12 (Colabのデフォルト)
- Target TTS Version: 0.22.0 (安定版を目標とする)
発生した現象 (Expected vs. Actual Behavior)
- 期待される動作:
TTSライブラリが正常にインストールされる。 - 実際の動作: 安定版はバージョン非互換でインストールできず、GitHubからのビルドは
error: subprocess-exited-with-errorでビルド要件の取得に失敗します。
試したこと (Attempts to fix/Workarounds tried)
- Python 3.10環境への手動でのダウングレード(Colabの環境が3.12から切り替わらなかったため失敗)。
pip install --preやTTS==0.14.3など、複数のバージョンでのインストール試行。pip,setuptools,wheelなどのビルドツールの最新版へのアップグレード。- GitHubリポジトリをクローンし、
pip install -e ".[all]"での強制ビルドを試行。
要望 (Request)
Colabのデフォルト環境でTTSを使用できるように、Python 3.12 に対応した依存関係の更新をご検討いただければ幸いです。
ziz-byte
To Reproduce
ーーーMarkdownーーー
- Open a new Google Colab notebook. (The default runtime environment is used.)
- Run the following command to check the Python version: ```python
!python --version
Expected Output: Python 3.12.12 3. Try to install the stable version:
ーーーーPythonーーー
!pip install TTS==0.22.0
See Error: ERROR: Ignored the following versions that require a different python version... 4. Try to install the latest version from GitHub:
!pip install -e "git+https://github.com/coqui-ai/TTS.git#egg=TTS[all]"
See Error: error: subprocess-exited-with-error during build requirements checking.
Expected behavior
No response
Logs
🛠️ Driveマウントを開始します...
Mounted at /content/drive
✅ Driveマウント完了
🛠️ TTSライブラリをGitHubから再インストールします...DEPRECATION: git+https://github.com/coqui-ai/TTS.git#egg=TTS[all] contains an egg fragment with a non-PEP 508 name pip 25.0 will enforce this behaviour change. A possible replacement is to use the req @ url syntax, and remove the egg fragment. Discussion can be found at https://github.com/pypa/pip/issues/11617Obtaining TTS[all] from git+https://github.com/coqui-ai/TTS.git#egg=TTS[all] (from TTS[all])
Cloning https://github.com/coqui-ai/TTS.git to ./src/tts
Running command git clone --filter=blob:none --quiet https://github.com/coqui-ai/TTS.git /content/src/tts
Resolved https://github.com/coqui-ai/TTS.git to commit dbf1a08a0d4e47fdad6172e433eeb34bc6b13b4e
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Getting requirements to build editable ... errorerror: subprocess-exited-with-error× Getting requirements to build editable did not run successfully.│ exit code: 1╰─> See above for output.note: This error originates from a subprocess, and is likely not a problem with pip.
✅ TTSインストール試行完了
✅ データパス設定完了。ROOT: /content/drive/MyDrive/tanaka_tts/
🚨致命的なエラー:TTSのインストールに失敗したため、インポートできませんでした。
---------------------------------------------------------------------------ModuleNotFoundError Traceback (most recent call last)/tmp/ipython-input-2943174096.py in <cell line: 0>() 41 # TTSのインポート(インストールが成功していることを期待) 42 try:---> 43 from TTS.config import BaseTTSConfig 44 from TTS.tts.configs.fastspeech_config import FastSpeechConfig 45 from TTS.trainer import TrainerModuleNotFoundError: No module named 'TTS'---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.---------------------------------------------------------------------------Environment
項目,入力すべき内容,補足
TTS Version,0.22.0 (Failed to install),インストールしたいバージョンと、失敗した旨を記載
PyTorch Version,
Python version,3.12.12,最重要情報
OS,Linux (Google Colab Runtime),
CUDA/cuDNN version,"Colab Default (e.g., CUDA 12.6)",
GPU models,Colab T4/A100/V100 (Default),
How you installed PyTorch,pip (Default Colab Install),
Any other relevant info,TTS fails to build due to Python 3.12 incompatibility,Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working