coqui-ai / TTS

πŸΈπŸ’¬ - a deep learning toolkit for Text-to-Speech, battle-tested in research and production
http://coqui.ai
Mozilla Public License 2.0
31.64k stars 3.78k forks source link

[Bug] Error during installation on Mac #3735

Closed mirodil-ml closed 1 month ago

mirodil-ml commented 1 month ago

Describe the bug

Error during installation throws the following error:

      Error compiling Cython file:
      ------------------------------------------------------------
      ...

          cdef BlasFunctions blas_functions
          blas_functions.dot = _dot[double]
          blas_functions.axpy = _axpy[double]
          blas_functions.scal = _scal[double]
          blas_functions.nrm2 = _nrm2[double]
                                     ^
      ------------------------------------------------------------

      sklearn/svm/_liblinear.pyx:58:31: Cannot assign type 'double (int, double *, int) except * nogil' to 'nrm2_func' (alias of 'double (*)(int, double *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of the value being assigned.
      Traceback (most recent call last):
        File "/private/var/folders/ff/xbjbc9jn70l2s3sql3fc5pdw0000gq/T/pip-build-env-9pyvr3k2/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper
          return cythonize_one(*m)
        File "/private/var/folders/ff/xbjbc9jn70l2s3sql3fc5pdw0000gq/T/pip-build-env-9pyvr3k2/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
          raise CompileError(None, pyx_file)
      Cython.Compiler.Errors.CompileError: sklearn/svm/_liblinear.pyx
....

To Reproduce

Expected behavior

Logs

pip logs

Collecting TTS
  Downloading TTS-0.14.3.tar.gz (1.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 21.3 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting cython==0.29.28 (from TTS)
  Using cached Cython-0.29.28-py2.py3-none-any.whl.metadata (2.8 kB)
Requirement already satisfied: scipy>=1.4.0 in ./.conda/lib/python3.8/site-packages (from TTS) (1.10.1)
Collecting torch>=1.7 (from TTS)
  Downloading torch-2.3.0-cp38-none-macosx_11_0_arm64.whl.metadata (26 kB)
Collecting torchaudio (from TTS)
  Downloading torchaudio-2.3.0-cp38-cp38-macosx_11_0_arm64.whl.metadata (6.4 kB)
Collecting soundfile (from TTS)
  Downloading soundfile-0.12.1-py2.py3-none-macosx_11_0_arm64.whl.metadata (14 kB)
Collecting librosa==0.10.0.* (from TTS)
  Downloading librosa-0.10.0.post2-py3-none-any.whl.metadata (8.3 kB)
Collecting inflect==5.6.0 (from TTS)
  Downloading inflect-5.6.0-py3-none-any.whl.metadata (21 kB)
Collecting tqdm (from TTS)
  Downloading tqdm-4.66.4-py3-none-any.whl.metadata (57 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 6.8 MB/s eta 0:00:00
Collecting anyascii (from TTS)
  Downloading anyascii-0.3.2-py3-none-any.whl.metadata (1.5 kB)
Collecting pyyaml (from TTS)
  Downloading PyYAML-6.0.1.tar.gz (125 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.2/125.2 kB 13.0 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting fsspec>=2021.04.0 (from TTS)
  Downloading fsspec-2024.3.1-py3-none-any.whl.metadata (6.8 kB)
Collecting aiohttp (from TTS)
  Downloading aiohttp-3.9.5-cp38-cp38-macosx_11_0_arm64.whl.metadata (7.5 kB)
Collecting packaging (from TTS)
  Using cached packaging-24.0-py3-none-any.whl.metadata (3.2 kB)
Collecting flask (from TTS)
  Downloading flask-3.0.3-py3-none-any.whl.metadata (3.2 kB)
Collecting pysbd (from TTS)
  Downloading pysbd-0.3.4-py3-none-any.whl.metadata (6.1 kB)
Collecting umap-learn==0.5.1 (from TTS)
  Downloading umap-learn-0.5.1.tar.gz (80 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.9/80.9 kB 8.4 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting pandas (from TTS)
  Downloading pandas-2.0.3-cp38-cp38-macosx_11_0_arm64.whl.metadata (18 kB)
Collecting matplotlib (from TTS)
  Downloading matplotlib-3.7.5-cp38-cp38-macosx_11_0_arm64.whl.metadata (5.7 kB)
Collecting trainer==0.0.20 (from TTS)
  Downloading trainer-0.0.20-py3-none-any.whl.metadata (5.6 kB)
Collecting coqpit>=0.0.16 (from TTS)
  Downloading coqpit-0.0.17-py3-none-any.whl.metadata (11 kB)
Collecting jieba (from TTS)
  Downloading jieba-0.42.1.tar.gz (19.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.2/19.2 MB 54.7 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting pypinyin (from TTS)
  Downloading pypinyin-0.51.0-py2.py3-none-any.whl.metadata (12 kB)
Collecting mecab-python3==1.0.5 (from TTS)
  Downloading mecab-python3-1.0.5.tar.gz (77 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.6/77.6 kB 10.1 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting unidic-lite==1.0.8 (from TTS)
  Downloading unidic-lite-1.0.8.tar.gz (47.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.4/47.4 MB 48.0 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting gruut==2.2.3 (from gruut[de,es,fr]==2.2.3->TTS)
  Downloading gruut-2.2.3.tar.gz (73 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.5/73.5 kB 9.5 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting jamo (from TTS)
  Downloading jamo-0.4.1-py3-none-any.whl.metadata (2.3 kB)
Collecting nltk (from TTS)
  Downloading nltk-3.8.1-py3-none-any.whl.metadata (2.8 kB)
Collecting g2pkk>=0.1.1 (from TTS)
  Downloading g2pkk-0.1.2-py3-none-any.whl.metadata (2.0 kB)
Collecting bangla==0.0.2 (from TTS)
  Downloading bangla-0.0.2-py2.py3-none-any.whl.metadata (4.5 kB)
Collecting bnnumerizer (from TTS)
  Downloading bnnumerizer-0.0.2.tar.gz (4.7 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting bnunicodenormalizer==0.1.1 (from TTS)
  Downloading bnunicodenormalizer-0.1.1.tar.gz (38 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting k-diffusion (from TTS)
  Downloading k_diffusion-0.1.1.post1-py3-none-any.whl.metadata (3.9 kB)
Collecting einops (from TTS)
  Downloading einops-0.8.0-py3-none-any.whl.metadata (12 kB)
Collecting transformers (from TTS)
  Downloading transformers-4.40.2-py3-none-any.whl.metadata (137 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.0/138.0 kB 15.4 MB/s eta 0:00:00
Collecting numpy==1.21.6 (from TTS)
  Using cached numpy-1.21.6-cp38-cp38-macosx_11_0_arm64.whl.metadata (2.1 kB)
Collecting numba==0.55.1 (from TTS)
  Downloading numba-0.55.1.tar.gz (2.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 54.1 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting Babel<3.0.0,>=2.8.0 (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS)
  Downloading Babel-2.15.0-py3-none-any.whl.metadata (1.5 kB)
Collecting dateparser~=1.1.0 (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS)
  Downloading dateparser-1.1.8-py2.py3-none-any.whl.metadata (27 kB)
Collecting gruut-ipa<1.0,>=0.12.0 (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS)
  Downloading gruut-ipa-0.13.0.tar.gz (101 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.6/101.6 kB 13.1 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting gruut_lang_en~=2.0.0 (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS)
  Downloading gruut_lang_en-2.0.0.tar.gz (15.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.2/15.2 MB 57.5 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting jsonlines~=1.2.0 (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS)
  Downloading jsonlines-1.2.0-py2.py3-none-any.whl.metadata (1.3 kB)
Collecting networkx<3.0.0,>=2.5.0 (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS)
  Downloading networkx-2.8.8-py3-none-any.whl.metadata (5.1 kB)
Collecting num2words<1.0.0,>=0.5.10 (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS)
  Downloading num2words-0.5.13-py3-none-any.whl.metadata (12 kB)
Collecting python-crfsuite~=0.9.7 (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS)
  Downloading python-crfsuite-0.9.10.tar.gz (478 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 478.3/478.3 kB 34.8 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting importlib_resources (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS)
  Downloading importlib_resources-6.4.0-py3-none-any.whl.metadata (3.9 kB)
Collecting gruut_lang_es~=2.0.0 (from gruut[de,es,fr]==2.2.3->TTS)
  Downloading gruut_lang_es-2.0.0.tar.gz (31.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 31.4/31.4 MB 51.3 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting gruut_lang_de~=2.0.0 (from gruut[de,es,fr]==2.2.3->TTS)
  Downloading gruut_lang_de-2.0.0.tar.gz (18.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.1/18.1 MB 61.6 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting gruut_lang_fr~=2.0.0 (from gruut[de,es,fr]==2.2.3->TTS)
  Downloading gruut_lang_fr-2.0.2.tar.gz (10.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.9/10.9 MB 40.0 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting audioread>=2.1.9 (from librosa==0.10.0.*->TTS)
  Downloading audioread-3.0.1-py3-none-any.whl.metadata (8.4 kB)
Requirement already satisfied: scikit-learn>=0.20.0 in ./.conda/lib/python3.8/site-packages (from librosa==0.10.0.*->TTS) (1.3.2)
Requirement already satisfied: joblib>=0.14 in ./.conda/lib/python3.8/site-packages (from librosa==0.10.0.*->TTS) (1.4.2)
Collecting decorator>=4.3.0 (from librosa==0.10.0.*->TTS)
  Downloading decorator-5.1.1-py3-none-any.whl.metadata (4.0 kB)
Collecting pooch<1.7,>=1.0 (from librosa==0.10.0.*->TTS)
  Downloading pooch-1.6.0-py3-none-any.whl.metadata (10 kB)
Collecting soxr>=0.3.2 (from librosa==0.10.0.*->TTS)
  Downloading soxr-0.3.7-cp38-cp38-macosx_11_0_arm64.whl.metadata (5.5 kB)
Collecting typing-extensions>=4.1.1 (from librosa==0.10.0.*->TTS)
  Using cached typing_extensions-4.11.0-py3-none-any.whl.metadata (3.0 kB)
Collecting lazy-loader>=0.1 (from librosa==0.10.0.*->TTS)
  Downloading lazy_loader-0.4-py3-none-any.whl.metadata (7.6 kB)
Collecting msgpack>=1.0 (from librosa==0.10.0.*->TTS)
  Downloading msgpack-1.0.8-cp38-cp38-macosx_11_0_arm64.whl.metadata (9.1 kB)
Collecting llvmlite<0.39,>=0.38.0rc1 (from numba==0.55.1->TTS)
  Downloading llvmlite-0.38.1-cp38-cp38-macosx_11_0_arm64.whl.metadata (4.7 kB)
Requirement already satisfied: setuptools in ./.conda/lib/python3.8/site-packages (from numba==0.55.1->TTS) (69.5.1)
Collecting psutil (from trainer==0.0.20->TTS)
  Downloading psutil-5.9.8-cp38-abi3-macosx_11_0_arm64.whl.metadata (21 kB)
Collecting tensorboardX (from trainer==0.0.20->TTS)
  Downloading tensorboardX-2.6.2.2-py2.py3-none-any.whl.metadata (5.8 kB)
Collecting protobuf<3.20,>=3.9.2 (from trainer==0.0.20->TTS)
  Downloading protobuf-3.19.6-py2.py3-none-any.whl.metadata (828 bytes)
Collecting pynndescent>=0.5 (from umap-learn==0.5.1->TTS)
  Downloading pynndescent-0.5.12-py3-none-any.whl.metadata (6.8 kB)
Collecting cffi>=1.0 (from soundfile->TTS)
  Downloading cffi-1.16.0.tar.gz (512 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 512.9/512.9 kB 35.5 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting filelock (from torch>=1.7->TTS)
  Downloading filelock-3.14.0-py3-none-any.whl.metadata (2.8 kB)
Collecting sympy (from torch>=1.7->TTS)
  Downloading sympy-1.12-py3-none-any.whl.metadata (12 kB)
Collecting jinja2 (from torch>=1.7->TTS)
  Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting aiosignal>=1.1.2 (from aiohttp->TTS)
  Downloading aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Collecting attrs>=17.3.0 (from aiohttp->TTS)
  Downloading attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB)
Collecting frozenlist>=1.1.1 (from aiohttp->TTS)
  Downloading frozenlist-1.4.1-cp38-cp38-macosx_11_0_arm64.whl.metadata (12 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp->TTS)
  Downloading multidict-6.0.5-cp38-cp38-macosx_11_0_arm64.whl.metadata (4.2 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp->TTS)
  Downloading yarl-1.9.4-cp38-cp38-macosx_11_0_arm64.whl.metadata (31 kB)
Collecting async-timeout<5.0,>=4.0 (from aiohttp->TTS)
  Downloading async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Collecting Werkzeug>=3.0.0 (from flask->TTS)
  Downloading werkzeug-3.0.3-py3-none-any.whl.metadata (3.7 kB)
Collecting itsdangerous>=2.1.2 (from flask->TTS)
  Downloading itsdangerous-2.2.0-py3-none-any.whl.metadata (1.9 kB)
Collecting click>=8.1.3 (from flask->TTS)
  Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting blinker>=1.6.2 (from flask->TTS)
  Downloading blinker-1.8.2-py3-none-any.whl.metadata (1.6 kB)
Collecting importlib-metadata>=3.6.0 (from flask->TTS)
  Downloading importlib_metadata-7.1.0-py3-none-any.whl.metadata (4.7 kB)
Collecting accelerate (from k-diffusion->TTS)
  Downloading accelerate-0.30.1-py3-none-any.whl.metadata (18 kB)
Collecting clean-fid (from k-diffusion->TTS)
  Downloading clean_fid-0.1.35-py3-none-any.whl.metadata (36 kB)
Collecting clip-anytorch (from k-diffusion->TTS)
  Downloading clip_anytorch-2.6.0-py3-none-any.whl.metadata (8.4 kB)
Collecting dctorch (from k-diffusion->TTS)
  Downloading dctorch-0.1.2-py3-none-any.whl.metadata (607 bytes)
Collecting jsonmerge (from k-diffusion->TTS)
  Downloading jsonmerge-1.9.2-py3-none-any.whl.metadata (21 kB)
Collecting kornia (from k-diffusion->TTS)
  Downloading kornia-0.7.2-py2.py3-none-any.whl.metadata (12 kB)
Collecting Pillow (from k-diffusion->TTS)
  Downloading pillow-10.3.0-cp38-cp38-macosx_11_0_arm64.whl.metadata (9.2 kB)
Collecting safetensors (from k-diffusion->TTS)
  Downloading safetensors-0.4.3-cp38-cp38-macosx_11_0_arm64.whl.metadata (3.8 kB)
Collecting scikit-image (from k-diffusion->TTS)
  Downloading scikit_image-0.21.0-cp38-cp38-macosx_12_0_arm64.whl.metadata (14 kB)
Collecting torchdiffeq (from k-diffusion->TTS)
  Downloading torchdiffeq-0.2.3-py3-none-any.whl.metadata (488 bytes)
Collecting torchsde (from k-diffusion->TTS)
  Downloading torchsde-0.2.6-py3-none-any.whl.metadata (5.3 kB)
Collecting torchvision (from k-diffusion->TTS)
  Downloading torchvision-0.18.0-cp38-cp38-macosx_11_0_arm64.whl.metadata (6.6 kB)
Collecting wandb (from k-diffusion->TTS)
  Downloading wandb-0.17.0-py3-none-macosx_11_0_arm64.whl.metadata (10 kB)
Collecting contourpy>=1.0.1 (from matplotlib->TTS)
  Downloading contourpy-1.1.1-cp38-cp38-macosx_11_0_arm64.whl.metadata (5.9 kB)
Collecting cycler>=0.10 (from matplotlib->TTS)
  Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib->TTS)
  Downloading fonttools-4.51.0-cp38-cp38-macosx_10_9_universal2.whl.metadata (159 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.5/159.5 kB 11.7 MB/s eta 0:00:00
Collecting kiwisolver>=1.0.1 (from matplotlib->TTS)
  Downloading kiwisolver-1.4.5-cp38-cp38-macosx_11_0_arm64.whl.metadata (6.4 kB)
Collecting pyparsing>=2.3.1 (from matplotlib->TTS)
  Downloading pyparsing-3.1.2-py3-none-any.whl.metadata (5.1 kB)
Requirement already satisfied: python-dateutil>=2.7 in ./.conda/lib/python3.8/site-packages (from matplotlib->TTS) (2.9.0.post0)
Collecting regex>=2021.8.3 (from nltk->TTS)
  Downloading regex-2024.5.10-cp38-cp38-macosx_11_0_arm64.whl.metadata (40 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.9/40.9 kB 3.8 MB/s eta 0:00:00
Collecting pytz>=2020.1 (from pandas->TTS)
  Downloading pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.1 (from pandas->TTS)
  Downloading tzdata-2024.1-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting huggingface-hub<1.0,>=0.19.3 (from transformers->TTS)
  Downloading huggingface_hub-0.23.0-py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: requests in ./.conda/lib/python3.8/site-packages (from transformers->TTS) (2.31.0)
Collecting tokenizers<0.20,>=0.19 (from transformers->TTS)
  Downloading tokenizers-0.19.1-cp38-cp38-macosx_11_0_arm64.whl.metadata (6.7 kB)
Collecting pycparser (from cffi>=1.0->soundfile->TTS)
  Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Collecting tzlocal (from dateparser~=1.1.0->gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS)
  Downloading tzlocal-5.2-py3-none-any.whl.metadata (7.8 kB)
Collecting zipp>=0.5 (from importlib-metadata>=3.6.0->flask->TTS)
  Downloading zipp-3.18.1-py3-none-any.whl.metadata (3.5 kB)
Collecting MarkupSafe>=2.0 (from jinja2->torch>=1.7->TTS)
  Downloading MarkupSafe-2.1.5-cp38-cp38-macosx_10_9_universal2.whl.metadata (3.0 kB)
Requirement already satisfied: six in ./.conda/lib/python3.8/site-packages (from jsonlines~=1.2.0->gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS) (1.16.0)
Collecting docopt>=0.6.2 (from num2words<1.0.0,>=0.5.10->gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS)
  Downloading docopt-0.6.2.tar.gz (25 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting appdirs>=1.3.0 (from pooch<1.7,>=1.0->librosa==0.10.0.*->TTS)
  Downloading appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in ./.conda/lib/python3.8/site-packages (from requests->transformers->TTS) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in ./.conda/lib/python3.8/site-packages (from requests->transformers->TTS) (3.7)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./.conda/lib/python3.8/site-packages (from requests->transformers->TTS) (2.2.1)
Requirement already satisfied: certifi>=2017.4.17 in ./.conda/lib/python3.8/site-packages (from requests->transformers->TTS) (2024.2.2)
Requirement already satisfied: threadpoolctl>=2.0.0 in ./.conda/lib/python3.8/site-packages (from scikit-learn>=0.20.0->librosa==0.10.0.*->TTS) (3.5.0)
Collecting ftfy (from clip-anytorch->k-diffusion->TTS)
  Downloading ftfy-6.2.0-py3-none-any.whl.metadata (7.3 kB)
INFO: pip is looking at multiple versions of dctorch to determine which version is compatible with other requirements. This could take a while.
Collecting dctorch (from k-diffusion->TTS)
  Downloading dctorch-0.1.1-py3-none-any.whl.metadata (607 bytes)
  Downloading dctorch-0.1.0-py3-none-any.whl.metadata (558 bytes)
Collecting clean-fid (from k-diffusion->TTS)
  Downloading clean_fid-0.1.34-py3-none-any.whl.metadata (36 kB)
Collecting requests (from transformers->TTS)
  Downloading requests-2.25.1-py2.py3-none-any.whl.metadata (4.2 kB)
Collecting chardet<5,>=3.0.2 (from requests->transformers->TTS)
  Downloading chardet-4.0.0-py2.py3-none-any.whl.metadata (3.5 kB)
Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp->TTS)
  Downloading idna-2.10-py2.py3-none-any.whl.metadata (9.1 kB)
Collecting urllib3<1.27,>=1.21.1 (from requests->transformers->TTS)
  Downloading urllib3-1.26.18-py2.py3-none-any.whl.metadata (48 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 5.4 MB/s eta 0:00:00
Collecting clean-fid (from k-diffusion->TTS)
  Downloading clean_fid-0.1.33-py3-none-any.whl.metadata (36 kB)
INFO: pip is still looking at multiple versions of dctorch to determine which version is compatible with other requirements. This could take a while.
  Downloading clean_fid-0.1.32-py3-none-any.whl.metadata (36 kB)
  Downloading clean_fid-0.1.31-py3-none-any.whl.metadata (36 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Downloading clean_fid-0.1.30-py3-none-any.whl.metadata (36 kB)
  Downloading clean_fid-0.1.29-py3-none-any.whl.metadata (36 kB)
  Downloading clean_fid-0.1.28-py3-none-any.whl.metadata (35 kB)
  Downloading clean_fid-0.1.26-py3-none-any.whl.metadata (35 kB)
  Downloading clean_fid-0.1.25-py3-none-any.whl.metadata (35 kB)
  Downloading clean_fid-0.1.24-py3-none-any.whl.metadata (35 kB)
  Downloading clean_fid-0.1.23-py3-none-any.whl.metadata (35 kB)
  Downloading clean_fid-0.1.22-py3-none-any.whl.metadata (35 kB)
  Downloading clean_fid-0.1.21-py3-none-any.whl.metadata (36 kB)
  Downloading clean_fid-0.1.19-py3-none-any.whl.metadata (36 kB)
  Downloading clean_fid-0.1.18-py3-none-any.whl.metadata (36 kB)
  Downloading clean_fid-0.1.17-py3-none-any.whl.metadata (36 kB)
  Downloading clean_fid-0.1.16-py3-none-any.whl.metadata (36 kB)
  Downloading clean_fid-0.1.15-py3-none-any.whl.metadata (35 kB)
  Downloading clean_fid-0.1.14-py3-none-any.whl.metadata (35 kB)
  Downloading clean_fid-0.1.13-py3-none-any.whl.metadata (27 kB)
  Downloading clean_fid-0.1.12-py3-none-any.whl.metadata (22 kB)
  Downloading clean_fid-0.1.11-py3-none-any.whl.metadata (22 kB)
  Downloading clean_fid-0.1.10-py3-none-any.whl.metadata (10 kB)
  Downloading clean_fid-0.1.9-py3-none-any.whl.metadata (9.5 kB)
  Downloading clean_fid-0.1.8-py3-none-any.whl.metadata (9.5 kB)
  Downloading clean_fid-0.1.6-py3-none-any.whl.metadata (8.5 kB)
Collecting accelerate (from k-diffusion->TTS)
  Downloading accelerate-0.30.0-py3-none-any.whl.metadata (19 kB)
  Downloading accelerate-0.29.3-py3-none-any.whl.metadata (18 kB)
  Downloading accelerate-0.29.2-py3-none-any.whl.metadata (18 kB)
  Downloading accelerate-0.29.1-py3-none-any.whl.metadata (18 kB)
  Downloading accelerate-0.29.0-py3-none-any.whl.metadata (18 kB)
  Downloading accelerate-0.28.0-py3-none-any.whl.metadata (18 kB)
  Downloading accelerate-0.27.2-py3-none-any.whl.metadata (18 kB)
  Downloading accelerate-0.27.1-py3-none-any.whl.metadata (18 kB)
  Downloading accelerate-0.27.0-py3-none-any.whl.metadata (18 kB)
  Downloading accelerate-0.26.1-py3-none-any.whl.metadata (18 kB)
  Downloading accelerate-0.26.0-py3-none-any.whl.metadata (18 kB)
  Downloading accelerate-0.25.0-py3-none-any.whl.metadata (18 kB)
  Downloading accelerate-0.24.1-py3-none-any.whl.metadata (18 kB)
  Downloading accelerate-0.24.0-py3-none-any.whl.metadata (18 kB)
  Downloading accelerate-0.23.0-py3-none-any.whl.metadata (18 kB)
  Downloading accelerate-0.22.0-py3-none-any.whl.metadata (17 kB)
  Downloading accelerate-0.21.0-py3-none-any.whl.metadata (17 kB)
  Downloading accelerate-0.20.3-py3-none-any.whl.metadata (17 kB)
  Downloading accelerate-0.20.2-py3-none-any.whl.metadata (17 kB)
  Downloading accelerate-0.20.1-py3-none-any.whl.metadata (17 kB)
  Downloading accelerate-0.20.0-py3-none-any.whl.metadata (17 kB)
  Downloading accelerate-0.19.0-py3-none-any.whl.metadata (16 kB)
  Downloading accelerate-0.18.0-py3-none-any.whl.metadata (16 kB)
  Downloading accelerate-0.17.1-py3-none-any.whl.metadata (16 kB)
  Downloading accelerate-0.17.0-py3-none-any.whl.metadata (16 kB)
  Downloading accelerate-0.16.0-py3-none-any.whl.metadata (15 kB)
  Downloading accelerate-0.15.0-py3-none-any.whl.metadata (15 kB)
  Downloading accelerate-0.14.0-py3-none-any.whl.metadata (15 kB)
  Downloading accelerate-0.13.2-py3-none-any.whl.metadata (15 kB)
  Downloading accelerate-0.13.1-py3-none-any.whl.metadata (15 kB)
  Downloading accelerate-0.13.0-py3-none-any.whl.metadata (15 kB)
  Downloading accelerate-0.12.0-py3-none-any.whl.metadata (15 kB)
  Downloading accelerate-0.11.0-py3-none-any.whl.metadata (14 kB)
  Downloading accelerate-0.10.0-py3-none-any.whl.metadata (14 kB)
  Downloading accelerate-0.9.0-py3-none-any.whl.metadata (13 kB)
  Downloading accelerate-0.8.0-py3-none-any.whl.metadata (13 kB)
  Downloading accelerate-0.7.1-py3-none-any.whl.metadata (13 kB)
  Downloading accelerate-0.7.0-py3-none-any.whl.metadata (13 kB)
  Downloading accelerate-0.6.2-py3-none-any.whl.metadata (13 kB)
  Downloading accelerate-0.6.1-py3-none-any.whl.metadata (13 kB)
  Downloading accelerate-0.6.0-py3-none-any.whl.metadata (13 kB)
  Downloading accelerate-0.5.1-py3-none-any.whl.metadata (11 kB)
  Downloading accelerate-0.5.0-py3-none-any.whl.metadata (11 kB)
  Downloading accelerate-0.4.0-py3-none-any.whl.metadata (11 kB)
Collecting soxr>=0.3.2 (from librosa==0.10.0.*->TTS)
  Downloading soxr-0.3.6-cp38-cp38-macosx_11_0_arm64.whl.metadata (5.4 kB)
  Downloading soxr-0.3.5-cp38-cp38-macosx_11_0_arm64.whl.metadata (5.4 kB)
  Downloading soxr-0.3.4-cp38-cp38-macosx_11_0_arm64.whl.metadata (5.4 kB)
  Downloading soxr-0.3.3-cp38-cp38-macosx_11_0_arm64.whl.metadata (5.0 kB)
  Downloading soxr-0.3.2-cp38-cp38-macosx_11_0_arm64.whl.metadata (5.0 kB)
Collecting scikit-learn>=0.20.0 (from librosa==0.10.0.*->TTS)
  Downloading scikit_learn-1.3.2-cp38-cp38-macosx_12_0_arm64.whl.metadata (11 kB)
  Downloading scikit_learn-1.3.1-cp38-cp38-macosx_12_0_arm64.whl.metadata (11 kB)
  Downloading scikit_learn-1.3.0-cp38-cp38-macosx_12_0_arm64.whl.metadata (11 kB)
  Downloading scikit_learn-1.2.2-cp38-cp38-macosx_12_0_arm64.whl.metadata (11 kB)
  Downloading scikit_learn-1.2.1-cp38-cp38-macosx_12_0_arm64.whl.metadata (11 kB)
  Downloading scikit_learn-1.2.0-cp38-cp38-macosx_12_0_arm64.whl.metadata (11 kB)
  Downloading scikit_learn-1.1.3-cp38-cp38-macosx_12_0_arm64.whl.metadata (10 kB)
  Downloading scikit_learn-1.1.2-cp38-cp38-macosx_12_0_arm64.whl.metadata (10 kB)
  Downloading scikit_learn-1.1.1-cp38-cp38-macosx_12_0_arm64.whl.metadata (10 kB)
  Downloading scikit_learn-1.1.0-cp38-cp38-macosx_12_0_arm64.whl.metadata (10 kB)
  Downloading scikit_learn-1.0.2-cp38-cp38-macosx_12_0_arm64.whl.metadata (10 kB)
  Downloading scikit-learn-1.0.1.tar.gz (6.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.6/6.6 MB 60.3 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'error'

Error log

      Error compiling Cython file:
      ------------------------------------------------------------
      ...

          cdef BlasFunctions blas_functions
          blas_functions.dot = _dot[double]
          blas_functions.axpy = _axpy[double]
          blas_functions.scal = _scal[double]
          blas_functions.nrm2 = _nrm2[double]
                                     ^
      ------------------------------------------------------------

      sklearn/svm/_liblinear.pyx:58:31: Cannot assign type 'double (int, double *, int) except * nogil' to 'nrm2_func' (alias of 'double (*)(int, double *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of the value being assigned.
      Traceback (most recent call last):
        File "/private/var/folders/ff/xbjbc9jn70l2s3sql3fc5pdw0000gq/T/pip-build-env-9pyvr3k2/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper
          return cythonize_one(*m)
        File "/private/var/folders/ff/xbjbc9jn70l2s3sql3fc5pdw0000gq/T/pip-build-env-9pyvr3k2/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
          raise CompileError(None, pyx_file)
      Cython.Compiler.Errors.CompileError: sklearn/svm/_liblinear.pyx

      Error compiling Cython file:
      ------------------------------------------------------------
      ...
          if error_msg:
              # for SVR: epsilon is called p in libsvm
              error_repl = error_msg.decode('utf-8').replace("p < 0", "epsilon < 0")
              raise ValueError(error_repl)
          cdef BlasFunctions blas_functions
          blas_functions.dot = _dot[double]
                                   ^
      ------------------------------------------------------------

      sklearn/svm/_libsvm.pyx:194:29: Cannot assign type 'double (int, double *, int, double *, int) except * nogil' to 'dot_func' (alias of 'double (*)(int, double *, int, double *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of the value being assigned.

      Error compiling Cython file:
      ------------------------------------------------------------
      ...
                             class_weight_label.data, class_weight.data)
          model = set_model(&param, <int> nSV.shape[0], SV.data, SV.shape,
                            support.data, support.shape, sv_coef.strides,
                            sv_coef.data, intercept.data, nSV.data, probA.data, probB.data)
          cdef BlasFunctions blas_functions
          blas_functions.dot = _dot[double]
                                   ^
      ------------------------------------------------------------

      sklearn/svm/_libsvm.pyx:358:29: Cannot assign type 'double (int, double *, int, double *, int) except * nogil' to 'dot_func' (alias of 'double (*)(int, double *, int, double *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of the value being assigned.

      Error compiling Cython file:
      ------------------------------------------------------------
      ...
                            sv_coef.data, intercept.data, nSV.data,
                            probA.data, probB.data)

          cdef np.npy_intp n_class = get_nr(model)
          cdef BlasFunctions blas_functions
          blas_functions.dot = _dot[double]
                                   ^
      ------------------------------------------------------------

      sklearn/svm/_libsvm.pyx:464:29: Cannot assign type 'double (int, double *, int, double *, int) except * nogil' to 'dot_func' (alias of 'double (*)(int, double *, int, double *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of the value being assigned.

      Error compiling Cython file:
      ------------------------------------------------------------
      ...
              n_class = 1
          else:
              n_class = get_nr(model)
              n_class = n_class * (n_class - 1) // 2
          cdef BlasFunctions blas_functions
          blas_functions.dot = _dot[double]
                                   ^
      ------------------------------------------------------------

      sklearn/svm/_libsvm.pyx:570:29: Cannot assign type 'double (int, double *, int, double *, int) except * nogil' to 'dot_func' (alias of 'double (*)(int, double *, int, double *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of the value being assigned.

      Error compiling Cython file:
      ------------------------------------------------------------
      ...
          if error_msg:
              raise ValueError(error_msg)

          cdef np.ndarray[np.float64_t, ndim=1, mode='c'] target
          cdef BlasFunctions blas_functions
          blas_functions.dot = _dot[double]
                                   ^
      ------------------------------------------------------------

      sklearn/svm/_libsvm.pyx:714:29: Cannot assign type 'double (int, double *, int, double *, int) except * nogil' to 'dot_func' (alias of 'double (*)(int, double *, int, double *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of the value being assigned.
      Traceback (most recent call last):
        File "/private/var/folders/ff/xbjbc9jn70l2s3sql3fc5pdw0000gq/T/pip-build-env-9pyvr3k2/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper
          return cythonize_one(*m)
        File "/private/var/folders/ff/xbjbc9jn70l2s3sql3fc5pdw0000gq/T/pip-build-env-9pyvr3k2/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
          raise CompileError(None, pyx_file)
      Cython.Compiler.Errors.CompileError: sklearn/svm/_libsvm.pyx

      Error compiling Cython file:
      ------------------------------------------------------------
      ...
          if error_msg:
              free_problem(problem)
              free_param(param)
              raise ValueError(error_msg)
          cdef BlasFunctions blas_functions
          blas_functions.dot = _dot[double]
                                   ^
      ------------------------------------------------------------

      sklearn/svm/_libsvm_sparse.pyx:153:29: Cannot assign type 'double (int, double *, int, double *, int) except * nogil' to 'dot_func' (alias of 'double (*)(int, double *, int, double *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of the value being assigned.

      Error compiling Cython file:
      ------------------------------------------------------------
      ...
                                sv_coef.data, intercept.data,
                                nSV.data, probA.data, probB.data)
          #TODO: use check_model
          dec_values = np.empty(T_indptr.shape[0]-1)
          cdef BlasFunctions blas_functions
          blas_functions.dot = _dot[double]
                                   ^
      ------------------------------------------------------------

      sklearn/svm/_libsvm_sparse.pyx:284:29: Cannot assign type 'double (int, double *, int, double *, int) except * nogil' to 'dot_func' (alias of 'double (*)(int, double *, int, double *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of the value being assigned.

      Error compiling Cython file:
      ------------------------------------------------------------
      ...
          #TODO: use check_model
          cdef np.npy_intp n_class = get_nr(model)
          cdef int rv
          dec_values = np.empty((T_indptr.shape[0]-1, n_class), dtype=np.float64)
          cdef BlasFunctions blas_functions
          blas_functions.dot = _dot[double]
                                   ^
      ------------------------------------------------------------

      sklearn/svm/_libsvm_sparse.pyx:343:29: Cannot assign type 'double (int, double *, int, double *, int) except * nogil' to 'dot_func' (alias of 'double (*)(int, double *, int, double *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of the value being assigned.

      Error compiling Cython file:
      ------------------------------------------------------------
      ...
              n_class = get_nr(model)
              n_class = n_class * (n_class - 1) // 2

          dec_values = np.empty((T_indptr.shape[0] - 1, n_class), dtype=np.float64)
          cdef BlasFunctions blas_functions
          blas_functions.dot = _dot[double]
                                   ^
      ------------------------------------------------------------

      sklearn/svm/_libsvm_sparse.pyx:412:29: Cannot assign type 'double (int, double *, int, double *, int) except * nogil' to 'dot_func' (alias of 'double (*)(int, double *, int, double *, int) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of the value being assigned.
      Traceback (most recent call last):
        File "/private/var/folders/ff/xbjbc9jn70l2s3sql3fc5pdw0000gq/T/pip-build-env-9pyvr3k2/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper
          return cythonize_one(*m)
        File "/private/var/folders/ff/xbjbc9jn70l2s3sql3fc5pdw0000gq/T/pip-build-env-9pyvr3k2/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
          raise CompileError(None, pyx_file)
      Cython.Compiler.Errors.CompileError: sklearn/svm/_libsvm_sparse.pyx
      warning: sklearn/tree/_criterion.pxd:57:45: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython.
....
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

Γ— Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

### Environment

```shell
- 🐸TTS Version: None
- PyTorch Version: 2.3.0
- Python version: 3.8.19
- OS: Darwin 64bit arm
- CUDA/cuDNN version: None
- GPU models and configuration: None
- How you installed PyTorch (`conda`, `pip`, source): pip

Additional context

No response

eginhard commented 1 month ago

You're installing an old version of the library. You need at least Python 3.9 to get the most recent version and avoid other issues.