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
35.37k stars 4.31k forks source link

[Bug] Lots of issues when installing, tried to fix it, says "No module named 'coqpit'" #3864

Closed actlists closed 3 months ago

actlists commented 3 months ago

Describe the bug

I am trying to install using conda on Windows, and I get this error: image I also tried to change some code in librosa due to this error: image Even though coqpit is installed, it says it can't find it. image image

To Reproduce

Run "pip install -e ." Get first error Run test program with code from readme.md Get second error Change np.complex to just complex Run it again Get second and third errors

Expected behavior

I expect this to actually work

Logs

Obtaining file:///C:/Users/sitto/TTS
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Requirement already satisfied: cython>=0.29.30 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (3.0.11)
Requirement already satisfied: scipy>=1.11.2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (1.11.4)
Requirement already satisfied: torch>=2.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (2.4.0)
Requirement already satisfied: torchaudio in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (2.4.0)
Requirement already satisfied: soundfile>=0.12.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.12.1)
Requirement already satisfied: librosa>=0.10.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.10.0)
Requirement already satisfied: scikit-learn>=1.3.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (1.5.1)
Requirement already satisfied: inflect>=5.6.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (7.3.1)
Requirement already satisfied: tqdm>=4.64.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (4.66.5)
Requirement already satisfied: anyascii>=0.3.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.3.2)
Requirement already satisfied: pyyaml>=6.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (6.0.1)
Requirement already satisfied: fsspec>=2023.6.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (2024.6.1)
Requirement already satisfied: aiohttp>=3.8.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (3.10.2)
Requirement already satisfied: packaging>=23.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (24.1)
Requirement already satisfied: mutagen==1.47.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (1.47.0)
Requirement already satisfied: flask>=2.0.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (3.0.3)
Requirement already satisfied: pysbd>=0.3.4 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.3.4)
Requirement already satisfied: umap-learn>=0.5.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.5.6)
Requirement already satisfied: pandas<2.0,>=1.4 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (1.5.3)
Requirement already satisfied: matplotlib>=3.7.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (3.8.4)
Requirement already satisfied: trainer>=0.0.36 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.0.36)
Requirement already satisfied: coqpit>=0.0.16 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.0.17)
Requirement already satisfied: jieba in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.42.1)
Requirement already satisfied: pypinyin in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.52.0)
Requirement already satisfied: hangul-romanize in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.1.0)
Requirement already satisfied: gruut==2.2.3 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from gruut[de,es,fr]==2.2.3->TTS==0.22.0) (2.2.3)
Requirement already satisfied: jamo in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.4.1)
Requirement already satisfied: nltk in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (3.8.2)
Requirement already satisfied: g2pkk>=0.1.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.1.2)
Requirement already satisfied: bangla in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.0.2)
Requirement already satisfied: bnnumerizer in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.0.2)
Requirement already satisfied: bnunicodenormalizer in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.1.7)
Requirement already satisfied: einops>=0.6.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.8.0)
Requirement already satisfied: transformers>=4.33.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (4.44.0)
Requirement already satisfied: encodec>=0.1.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.1.1)
Requirement already satisfied: unidecode>=1.3.2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (1.3.8)
Requirement already satisfied: num2words in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.5.13)
Requirement already satisfied: spacy>=3 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy[ja]>=3->TTS==0.22.0) (3.7.5)
Requirement already satisfied: numpy==1.22.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (1.22.0)
Requirement already satisfied: numba>=0.57.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from TTS==0.22.0) (0.60.0)
Requirement already satisfied: Babel<3.0.0,>=2.8.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS==0.22.0) (2.16.0)
Requirement already satisfied: dateparser~=1.1.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS==0.22.0) (1.1.8)
Requirement already satisfied: gruut-ipa<1.0,>=0.12.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS==0.22.0) (0.13.0)
Requirement already satisfied: gruut-lang-en~=2.0.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS==0.22.0) (2.0.1)
Requirement already satisfied: jsonlines~=1.2.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS==0.22.0) (1.2.0)
Requirement already satisfied: networkx<3.0.0,>=2.5.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS==0.22.0) (2.8.8)
Requirement already satisfied: python-crfsuite~=0.9.7 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS==0.22.0) (0.9.10)
Requirement already satisfied: gruut-lang-es~=2.0.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from gruut[de,es,fr]==2.2.3->TTS==0.22.0) (2.0.1)
Requirement already satisfied: gruut-lang-fr~=2.0.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from gruut[de,es,fr]==2.2.3->TTS==0.22.0) (2.0.2)
Requirement already satisfied: gruut-lang-de~=2.0.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from gruut[de,es,fr]==2.2.3->TTS==0.22.0) (2.0.1)
Requirement already satisfied: aiohappyeyeballs>=2.3.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from aiohttp>=3.8.1->TTS==0.22.0) (2.3.5)
Requirement already satisfied: aiosignal>=1.1.2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from aiohttp>=3.8.1->TTS==0.22.0) (1.3.1)
Requirement already satisfied: attrs>=17.3.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from aiohttp>=3.8.1->TTS==0.22.0) (24.2.0)
Requirement already satisfied: frozenlist>=1.1.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from aiohttp>=3.8.1->TTS==0.22.0) (1.4.1)
Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from aiohttp>=3.8.1->TTS==0.22.0) (6.0.5)
Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from aiohttp>=3.8.1->TTS==0.22.0) (1.9.4)
Requirement already satisfied: async-timeout<5.0,>=4.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from aiohttp>=3.8.1->TTS==0.22.0) (4.0.3)
Requirement already satisfied: Werkzeug>=3.0.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from flask>=2.0.1->TTS==0.22.0) (3.0.3)
Requirement already satisfied: Jinja2>=3.1.2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from flask>=2.0.1->TTS==0.22.0) (3.1.4)
Requirement already satisfied: itsdangerous>=2.1.2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from flask>=2.0.1->TTS==0.22.0) (2.2.0)
Requirement already satisfied: click>=8.1.3 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from flask>=2.0.1->TTS==0.22.0) (8.1.7)
Requirement already satisfied: blinker>=1.6.2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from flask>=2.0.1->TTS==0.22.0) (1.8.2)
Requirement already satisfied: more-itertools>=8.5.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from inflect>=5.6.0->TTS==0.22.0) (10.4.0)
Requirement already satisfied: typeguard>=4.0.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from inflect>=5.6.0->TTS==0.22.0) (4.3.0)
Requirement already satisfied: audioread>=2.1.9 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from librosa>=0.10.0->TTS==0.22.0) (3.0.1)
Requirement already satisfied: joblib>=0.14 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from librosa>=0.10.0->TTS==0.22.0) (1.4.2)
Requirement already satisfied: decorator>=4.3.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from librosa>=0.10.0->TTS==0.22.0) (5.1.1)
Requirement already satisfied: pooch>=1.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from librosa>=0.10.0->TTS==0.22.0) (1.8.2)
Requirement already satisfied: soxr>=0.3.2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from librosa>=0.10.0->TTS==0.22.0) (0.4.0)
Requirement already satisfied: typing-extensions>=4.1.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from librosa>=0.10.0->TTS==0.22.0) (4.11.0)
Requirement already satisfied: lazy-loader>=0.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from librosa>=0.10.0->TTS==0.22.0) (0.4)
Requirement already satisfied: msgpack>=1.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from librosa>=0.10.0->TTS==0.22.0) (1.0.8)
Requirement already satisfied: contourpy>=1.0.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from matplotlib>=3.7.0->TTS==0.22.0) (1.2.1)
Requirement already satisfied: cycler>=0.10 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from matplotlib>=3.7.0->TTS==0.22.0) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from matplotlib>=3.7.0->TTS==0.22.0) (4.53.1)
Requirement already satisfied: kiwisolver>=1.3.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from matplotlib>=3.7.0->TTS==0.22.0) (1.4.5)
Requirement already satisfied: pillow>=8 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from matplotlib>=3.7.0->TTS==0.22.0) (10.4.0)
Requirement already satisfied: pyparsing>=2.3.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from matplotlib>=3.7.0->TTS==0.22.0) (3.1.2)
Requirement already satisfied: python-dateutil>=2.7 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from matplotlib>=3.7.0->TTS==0.22.0) (2.9.0.post0)
Requirement already satisfied: docopt>=0.6.2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from num2words->TTS==0.22.0) (0.6.2)
Requirement already satisfied: llvmlite<0.44,>=0.43.0dev0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from numba>=0.57.0->TTS==0.22.0) (0.43.0)
Requirement already satisfied: pytz>=2020.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from pandas<2.0,>=1.4->TTS==0.22.0) (2024.1)
Requirement already satisfied: threadpoolctl>=3.1.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from scikit-learn>=1.3.0->TTS==0.22.0) (3.5.0)
Requirement already satisfied: cffi>=1.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from soundfile>=0.12.0->TTS==0.22.0) (1.17.0)
Requirement already satisfied: spacy-legacy<3.1.0,>=3.0.11 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy>=3->spacy[ja]>=3->TTS==0.22.0) (3.0.12)
Requirement already satisfied: spacy-loggers<2.0.0,>=1.0.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy>=3->spacy[ja]>=3->TTS==0.22.0) (1.0.5)
Requirement already satisfied: murmurhash<1.1.0,>=0.28.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy>=3->spacy[ja]>=3->TTS==0.22.0) (1.0.10)
Requirement already satisfied: cymem<2.1.0,>=2.0.2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy>=3->spacy[ja]>=3->TTS==0.22.0) (2.0.8)
Requirement already satisfied: preshed<3.1.0,>=3.0.2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy>=3->spacy[ja]>=3->TTS==0.22.0) (3.0.9)
Requirement already satisfied: thinc<8.3.0,>=8.2.2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy>=3->spacy[ja]>=3->TTS==0.22.0) (8.2.5)
Requirement already satisfied: wasabi<1.2.0,>=0.9.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy>=3->spacy[ja]>=3->TTS==0.22.0) (1.1.3)
Requirement already satisfied: srsly<3.0.0,>=2.4.3 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy>=3->spacy[ja]>=3->TTS==0.22.0) (2.4.8)
Requirement already satisfied: catalogue<2.1.0,>=2.0.6 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy>=3->spacy[ja]>=3->TTS==0.22.0) (2.0.10)
Requirement already satisfied: weasel<0.5.0,>=0.1.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy>=3->spacy[ja]>=3->TTS==0.22.0) (0.4.1)
Requirement already satisfied: typer<1.0.0,>=0.3.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy>=3->spacy[ja]>=3->TTS==0.22.0) (0.12.3)
Requirement already satisfied: requests<3.0.0,>=2.13.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy>=3->spacy[ja]>=3->TTS==0.22.0) (2.32.3)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy>=3->spacy[ja]>=3->TTS==0.22.0) (2.8.2)
Requirement already satisfied: setuptools in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy>=3->spacy[ja]>=3->TTS==0.22.0) (72.1.0)
Requirement already satisfied: langcodes<4.0.0,>=3.2.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy>=3->spacy[ja]>=3->TTS==0.22.0) (3.4.0)
Requirement already satisfied: sudachipy!=0.6.1,>=0.5.2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy[ja]>=3->TTS==0.22.0) (0.6.8)
Requirement already satisfied: sudachidict-core>=20211220 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from spacy[ja]>=3->TTS==0.22.0) (20240716)
Requirement already satisfied: filelock in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from torch>=2.1->TTS==0.22.0) (3.13.1)
Requirement already satisfied: sympy in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from torch>=2.1->TTS==0.22.0) (1.12)
Requirement already satisfied: colorama in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from tqdm>=4.64.1->TTS==0.22.0) (0.4.6)
Requirement already satisfied: psutil in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from trainer>=0.0.36->TTS==0.22.0) (6.0.0)
Requirement already satisfied: tensorboard in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from trainer>=0.0.36->TTS==0.22.0) (2.17.0)
Requirement already satisfied: huggingface-hub<1.0,>=0.23.2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from transformers>=4.33.0->TTS==0.22.0) (0.24.5)
Requirement already satisfied: regex!=2019.12.17 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from transformers>=4.33.0->TTS==0.22.0) (2024.7.24)
Requirement already satisfied: safetensors>=0.4.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from transformers>=4.33.0->TTS==0.22.0) (0.4.4)
Requirement already satisfied: tokenizers<0.20,>=0.19 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from transformers>=4.33.0->TTS==0.22.0) (0.19.1)
Requirement already satisfied: pynndescent>=0.5 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from umap-learn>=0.5.1->TTS==0.22.0) (0.5.13)
Requirement already satisfied: pycparser in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from cffi>=1.0->soundfile>=0.12.0->TTS==0.22.0) (2.22)
Requirement already satisfied: tzlocal in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from dateparser~=1.1.0->gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS==0.22.0) (5.2)
Requirement already satisfied: MarkupSafe>=2.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from Jinja2>=3.1.2->flask>=2.0.1->TTS==0.22.0) (2.1.3)
Requirement already satisfied: six in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from jsonlines~=1.2.0->gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS==0.22.0) (1.16.0)
Requirement already satisfied: language-data>=1.2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from langcodes<4.0.0,>=3.2.0->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (1.2.0)
Requirement already satisfied: platformdirs>=2.5.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from pooch>=1.0->librosa>=0.10.0->TTS==0.22.0) (4.2.2)
Requirement already satisfied: annotated-types>=0.4.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (0.7.0)
Requirement already satisfied: pydantic-core==2.20.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (2.20.1)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from requests<3.0.0,>=2.13.0->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from requests<3.0.0,>=2.13.0->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (3.7)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from requests<3.0.0,>=2.13.0->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (2.2.2)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from requests<3.0.0,>=2.13.0->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (2024.7.4)
Requirement already satisfied: blis<0.8.0,>=0.7.8 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from thinc<8.3.0,>=8.2.2->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (0.7.11)
Requirement already satisfied: confection<1.0.0,>=0.0.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from thinc<8.3.0,>=8.2.2->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (0.1.5)
Requirement already satisfied: shellingham>=1.3.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from typer<1.0.0,>=0.3.0->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (1.5.4)
Requirement already satisfied: rich>=10.11.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from typer<1.0.0,>=0.3.0->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (13.7.1)
Requirement already satisfied: cloudpathlib<1.0.0,>=0.7.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from weasel<0.5.0,>=0.1.0->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (0.18.1)
Requirement already satisfied: smart-open<8.0.0,>=5.2.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from weasel<0.5.0,>=0.1.0->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (7.0.4)
Requirement already satisfied: mpmath>=0.19 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from sympy->torch>=2.1->TTS==0.22.0) (1.3.0)
Requirement already satisfied: absl-py>=0.4 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from tensorboard->trainer>=0.0.36->TTS==0.22.0) (2.1.0)
Requirement already satisfied: grpcio>=1.48.2 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from tensorboard->trainer>=0.0.36->TTS==0.22.0) (1.65.4)
Requirement already satisfied: markdown>=2.6.8 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from tensorboard->trainer>=0.0.36->TTS==0.22.0) (3.6)
Requirement already satisfied: protobuf!=4.24.0,<5.0.0,>=3.19.6 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from tensorboard->trainer>=0.0.36->TTS==0.22.0) (4.25.4)
Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from tensorboard->trainer>=0.0.36->TTS==0.22.0) (0.7.2)
Requirement already satisfied: marisa-trie>=0.7.7 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from language-data>=1.2->langcodes<4.0.0,>=3.2.0->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (1.2.0)
Requirement already satisfied: markdown-it-py>=2.2.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from rich>=10.11.0->typer<1.0.0,>=0.3.0->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from rich>=10.11.0->typer<1.0.0,>=0.3.0->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (2.18.0)
Requirement already satisfied: wrapt in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from smart-open<8.0.0,>=5.2.1->weasel<0.5.0,>=0.1.0->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (1.12.1)
Requirement already satisfied: tzdata in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from tzlocal->dateparser~=1.1.0->gruut==2.2.3->gruut[de,es,fr]==2.2.3->TTS==0.22.0) (2024.1)
Requirement already satisfied: mdurl~=0.1 in c:\users\sitto\anaconda3\envs\coquitts\lib\site-packages (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0.0,>=0.3.0->spacy>=3->spacy[ja]>=3->TTS==0.22.0) (0.1.2)
Building wheels for collected packages: TTS
  Building editable for TTS (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building editable for TTS (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [115 lines of output]
      running editable_wheel
      creating C:\Users\sitto\AppData\Local\Temp\pip-wheel-au8yj9u3\.tmp-2juxk1xn\TTS.egg-info
      writing C:\Users\sitto\AppData\Local\Temp\pip-wheel-au8yj9u3\.tmp-2juxk1xn\TTS.egg-info\PKG-INFO
      writing dependency_links to C:\Users\sitto\AppData\Local\Temp\pip-wheel-au8yj9u3\.tmp-2juxk1xn\TTS.egg-info\dependency_links.txt
      writing entry points to C:\Users\sitto\AppData\Local\Temp\pip-wheel-au8yj9u3\.tmp-2juxk1xn\TTS.egg-info\entry_points.txt
      writing requirements to C:\Users\sitto\AppData\Local\Temp\pip-wheel-au8yj9u3\.tmp-2juxk1xn\TTS.egg-info\requires.txt
      writing top-level names to C:\Users\sitto\AppData\Local\Temp\pip-wheel-au8yj9u3\.tmp-2juxk1xn\TTS.egg-info\top_level.txt
      writing manifest file 'C:\Users\sitto\AppData\Local\Temp\pip-wheel-au8yj9u3\.tmp-2juxk1xn\TTS.egg-info\SOURCES.txt'
      reading manifest file 'C:\Users\sitto\AppData\Local\Temp\pip-wheel-au8yj9u3\.tmp-2juxk1xn\TTS.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no previously-included files matching '*' found under directory 'tests'
      no previously-included directories found matching 'tests*'
      adding license file 'LICENSE.txt'
      writing manifest file 'C:\Users\sitto\AppData\Local\Temp\pip-wheel-au8yj9u3\.tmp-2juxk1xn\TTS.egg-info\SOURCES.txt'
      creating 'C:\Users\sitto\AppData\Local\Temp\pip-wheel-au8yj9u3\.tmp-2juxk1xn\TTS-0.22.0.dist-info'
      C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\command\bdist_wheel.py:112: RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
        if get_flag("Py_DEBUG", hasattr(sys, "gettotalrefcount"), warn=(impl == "cp")):
      creating C:\Users\sitto\AppData\Local\Temp\pip-wheel-au8yj9u3\.tmp-2juxk1xn\TTS-0.22.0.dist-info\WHEEL
      running build_py
      running build_ext
      building 'TTS.tts.utils.monotonic_align.core' extension
      creating C:\Users\sitto\AppData\Local\Temp\tmp45ai36pe.build-temp\Release
      creating C:\Users\sitto\AppData\Local\Temp\tmp45ai36pe.build-temp\Release\TTS
      creating C:\Users\sitto\AppData\Local\Temp\tmp45ai36pe.build-temp\Release\TTS\tts
      creating C:\Users\sitto\AppData\Local\Temp\tmp45ai36pe.build-temp\Release\TTS\tts\utils
      creating C:\Users\sitto\AppData\Local\Temp\tmp45ai36pe.build-temp\Release\TTS\tts\utils\monotonic_align
      cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\numpy\_core\include -IC:\Users\sitto\anaconda3\envs\coquitts\include -IC:\Users\sitto\anaconda3\envs\coquitts\Include -I\targets\x64 /TcTTS/tts/utils/monotonic_align/core.c /FoC:\Users\sitto\AppData\Local\Temp\tmp45ai36pe.build-temp\Release\TTS/tts/utils/monotonic_align/core.obj
      Traceback (most recent call last):
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\_distutils\spawn.py", line 71, in spawn
          subprocess.check_call(cmd, env=_inject_macos_ver(env))
        File "C:\Users\sitto\anaconda3\envs\coquitts\lib\subprocess.py", line 364, in check_call
          retcode = call(*popenargs, **kwargs)
        File "C:\Users\sitto\anaconda3\envs\coquitts\lib\subprocess.py", line 345, in call
          with Popen(*popenargs, **kwargs) as p:
        File "C:\Users\sitto\anaconda3\envs\coquitts\lib\subprocess.py", line 971, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "C:\Users\sitto\anaconda3\envs\coquitts\lib\subprocess.py", line 1456, in _execute_child
          hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
      FileNotFoundError: [WinError 2] The system cannot find the file specified

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 419, in compile
          self.spawn(args)
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 517, in spawn
          return super().spawn(cmd, env=env)
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 1044, in spawn
          spawn(cmd, dry_run=self.dry_run, **kwargs)
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\_distutils\spawn.py", line 73, in spawn
          raise DistutilsExecError(
      distutils.errors.DistutilsExecError: command 'cl.exe' failed: None

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 153, in run
          self._create_wheel_file(bdist_wheel)
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 355, in _create_wheel_file
          files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 278, in _run_build_commands
          self._run_build_subcommands()
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 305, in _run_build_subcommands
          self.run_command(name)
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command
          self.distribution.run_command(command)
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\dist.py", line 945, in run_command
          super().run_command(command)
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 989, in run_command
          cmd_obj.run()
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\command\build_ext.py", line 93, in run
          _build_ext.run(self)
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 359, in run
          self.build_extensions()
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 479, in build_extensions
          self._build_extensions_serial()
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 505, in _build_extensions_serial
          self.build_extension(ext)
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\command\build_ext.py", line 254, in build_extension
          _build_ext.build_extension(self, ext)
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 560, in build_extension
          objects = self.compiler.compile(
        File "C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 421, in compile
          raise CompileError(msg)
      distutils.errors.CompileError: command 'cl.exe' failed: None
      C:\Users\sitto\AppData\Local\Temp\pip-build-env-l7avymyy\overlay\Lib\site-packages\setuptools\_distutils\dist.py:989: _DebuggingTips: Problem in editable installation.
      !!

              ********************************************************************************
              An error happened while installing `TTS` in editable mode.

              The following steps are recommended to help debug this problem:

              - Try to install the project normally, without using the editable mode.
                Does the error still persist?
                (If it does, try fixing the problem before attempting the editable mode).
              - If you are using binary extensions, make sure you have all OS-level
                dependencies installed (e.g. compilers, toolchains, binary libraries, ...).
              - Try the latest version of setuptools (maybe the error was already fixed).
              - If you (or your project dependencies) are using any setuptools extension
                or customization, make sure they support the editable mode.

              After following the steps above, if the problem still persists and
              you think this is related to how setuptools handles editable installations,
              please submit a reproducible example
              (see https://stackoverflow.com/help/minimal-reproducible-example) to:

                  https://github.com/pypa/setuptools/issues

              See https://setuptools.pypa.io/en/latest/userguide/development_mode.html for details.
              ********************************************************************************

      !!
        cmd_obj.run()
      error: command 'cl.exe' failed: None
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building editable for TTS
Failed to build TTS
ERROR: Could not build wheels for TTS, which is required to install pyproject.toml-based projects

(coquitts) C:\Users\sitto\TTS>ttstest.py
Traceback (most recent call last):
  File "C:\Users\sitto\TTS\ttstest.py", line 2, in <module>
    from TTS.api import TTS
  File "C:\Users\sitto\TTS\TTS\api.py", line 9, in <module>
    from TTS.utils.audio.numpy_transforms import save_wav
  File "C:\Users\sitto\TTS\TTS\utils\audio\__init__.py", line 1, in <module>
    from TTS.utils.audio.processor import AudioProcessor
  File "C:\Users\sitto\TTS\TTS\utils\audio\processor.py", line 4, in <module>
    import librosa
  File "C:\Users\sitto\AppData\Local\Programs\Python\Python312\Lib\site-packages\librosa\__init__.py", line 211, in <module>
    from . import core
  File "C:\Users\sitto\AppData\Local\Programs\Python\Python312\Lib\site-packages\librosa\core\__init__.py", line 9, in <module>
    from .constantq import *  # pylint: disable=wildcard-import
    ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\sitto\AppData\Local\Programs\Python\Python312\Lib\site-packages\librosa\core\constantq.py", line 1059, in <module>
    dtype=np.complex,
          ^^^^^^^^^^
  File "C:\Users\sitto\AppData\Local\Programs\Python\Python312\Lib\site-packages\numpy\__init__.py", line 338, in __getattr__
    raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'complex'.
`np.complex` was a deprecated alias for the builtin `complex`. To avoid this error in existing code, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
    https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'complex_'?

(after changing np.complex)

Traceback (most recent call last):
  File "C:\Users\sitto\TTS\ttstest.py", line 2, in <module>
    from TTS.api import TTS
  File "C:\Users\sitto\TTS\TTS\api.py", line 10, in <module>
    from TTS.utils.manage import ModelManager
  File "C:\Users\sitto\TTS\TTS\utils\manage.py", line 14, in <module>
    from TTS.config import load_config, read_json_with_comments
  File "C:\Users\sitto\TTS\TTS\config\__init__.py", line 8, in <module>
    from coqpit import Coqpit
ModuleNotFoundError: No module named 'coqpit'

(getting environment info)

Traceback (most recent call last):
  File "C:\Users\sitto\TTS\TTS\bin\collect_env_info.py", line 48, in <module>
    main()
  File "C:\Users\sitto\TTS\TTS\bin\collect_env_info.py", line 43, in main
    details = {"System": system_info(), "CUDA": cuda_info(), "Packages": package_info()}
                                                                         ^^^^^^^^^^^^^^
  File "C:\Users\sitto\TTS\TTS\bin\collect_env_info.py", line 38, in package_info
    "TTS": TTS.__version__,
           ^^^^^^^^^^^^^^^
AttributeError: module 'TTS' has no attribute '__version__'

Environment

Cannot

Additional context

Nothing works at all, it seems

actlists commented 3 months ago

It seems that it tries to find the modules that were installed in my python 3.12 folder instead of conda's python 3.10 folder.