TTS
TTS copied to clipboard
porblem execute :pip install -e .
C:\Python38\Project_TTS\TTS>pip install -e . Obtaining file:///C:/Python38/Project_TTS/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: torch>=1.5 in c:\python38\lib\site-packages (from TTS==0.0.9.2) (2.4.1) Requirement already satisfied: tensorflow==2.3.1 in c:\python38\lib\site-packages (from TTS==0.0.9.2) (2.3.1) Requirement already satisfied: numpy==1.17.5 in c:\python38\lib\site-packages (from TTS==0.0.9.2) (1.17.5) Requirement already satisfied: scipy>=0.19.0 in c:\python38\lib\site-packages (from TTS==0.0.9.2) (1.8.1) Requirement already satisfied: numba==0.48 in c:\python38\lib\site-packages (from TTS==0.0.9.2) (0.48.0) Requirement already satisfied: librosa==0.7.2 in c:\python38\lib\site-packages (from TTS==0.0.9.2) (0.7.2) Requirement already satisfied: phonemizer>=2.2.0 in c:\python38\lib\site-packages (from TTS==0.0.9.2) (3.3.0) Requirement already satisfied: unidecode==0.4.20 in c:\python38\lib\site-packages (from TTS==0.0.9.2) (0.4.20) Requirement already satisfied: tensorboardX in c:\python38\lib\site-packages (from TTS==0.0.9.2) (2.6.2.2) Requirement already satisfied: matplotlib in c:\python38\lib\site-packages (from TTS==0.0.9.2) (3.5.3) Requirement already satisfied: Pillow in c:\python38\lib\site-packages (from TTS==0.0.9.2) (10.4.0) Requirement already satisfied: flask in c:\python38\lib\site-packages (from TTS==0.0.9.2) (3.0.3) Requirement already satisfied: tqdm in c:\python38\lib\site-packages (from TTS==0.0.9.2) (4.66.5) Requirement already satisfied: inflect in c:\python38\lib\site-packages (from TTS==0.0.9.2) (7.4.0) Requirement already satisfied: bokeh==1.4.0 in c:\python38\lib\site-packages (from TTS==0.0.9.2) (1.4.0) Requirement already satisfied: pysbd in c:\python38\lib\site-packages (from TTS==0.0.9.2) (0.3.4) Requirement already satisfied: pyworld in c:\python38\lib\site-packages (from TTS==0.0.9.2) (0.3.4) Requirement already satisfied: soundfile in c:\python38\lib\site-packages (from TTS==0.0.9.2) (0.12.1) Requirement already satisfied: nose==1.3.7 in c:\python38\lib\site-packages (from TTS==0.0.9.2) (1.3.7) Requirement already satisfied: cardboardlint==1.3.0 in c:\python38\lib\site-packages (from TTS==0.0.9.2) (1.3.0) Requirement already satisfied: pylint==2.5.3 in c:\python38\lib\site-packages (from TTS==0.0.9.2) (2.5.3) Requirement already satisfied: gdown in c:\python38\lib\site-packages (from TTS==0.0.9.2) (5.2.0) Requirement already satisfied: umap-learn in c:\python38\lib\site-packages (from TTS==0.0.9.2) (0.4.6) Requirement already satisfied: cython in c:\python38\lib\site-packages (from TTS==0.0.9.2) (3.0.11) Requirement already satisfied: pyyaml in c:\python38\lib\site-packages (from TTS==0.0.9.2) (6.0.2) Requirement already satisfied: six>=1.5.2 in c:\python38\lib\site-packages (from bokeh==1.4.0->TTS==0.0.9.2) (1.16.0) Requirement already satisfied: python-dateutil>=2.1 in c:\python38\lib\site-packages (from bokeh==1.4.0->TTS==0.0.9.2) (2.9.0.post0) Requirement already satisfied: Jinja2>=2.7 in c:\python38\lib\site-packages (from bokeh==1.4.0->TTS==0.0.9.2) (3.1.4) Requirement already satisfied: packaging>=16.8 in c:\python38\lib\site-packages (from bokeh==1.4.0->TTS==0.0.9.2) (24.1) Requirement already satisfied: tornado>=4.3 in c:\python38\lib\site-packages (from bokeh==1.4.0->TTS==0.0.9.2) (6.4.1) Requirement already satisfied: audioread>=2.0.0 in c:\python38\lib\site-packages (from librosa==0.7.2->TTS==0.0.9.2) (3.0.1) Requirement already satisfied: scikit-learn!=0.19.0,>=0.14.0 in c:\python38\lib\site-packages (from librosa==0.7.2->TTS==0.0.9.2) (1.3.2) Requirement already satisfied: joblib>=0.12 in c:\python38\lib\site-packages (from librosa==0.7.2->TTS==0.0.9.2) (1.4.2) Requirement already satisfied: decorator>=3.0.0 in c:\python38\lib\site-packages (from librosa==0.7.2->TTS==0.0.9.2) (5.1.1) Requirement already satisfied: resampy>=0.2.2 in c:\python38\lib\site-packages (from librosa==0.7.2->TTS==0.0.9.2) (0.3.1) Requirement already satisfied: llvmlite<0.32.0,>=0.31.0dev0 in c:\python38\lib\site-packages (from numba==0.48->TTS==0.0.9.2) (0.31.0) Requirement already satisfied: setuptools in c:\users\kamal.ifticene\appdata\roaming\python\python38\site-packages (from numba==0.48->TTS==0.0.9.2) (75.2.0) Requirement already satisfied: astroid<=2.5,>=2.4.0 in c:\python38\lib\site-packages (from pylint==2.5.3->TTS==0.0.9.2) (2.5) Requirement already satisfied: isort<5,>=4.2.5 in c:\python38\lib\site-packages (from pylint==2.5.3->TTS==0.0.9.2) (4.3.21) Requirement already satisfied: mccabe<0.7,>=0.6 in c:\python38\lib\site-packages (from pylint==2.5.3->TTS==0.0.9.2) (0.6.1) Requirement already satisfied: toml>=0.7.1 in c:\python38\lib\site-packages (from pylint==2.5.3->TTS==0.0.9.2) (0.10.2) Requirement already satisfied: colorama in c:\python38\lib\site-packages (from pylint==2.5.3->TTS==0.0.9.2) (0.4.6) Requirement already satisfied: absl-py>=0.7.0 in c:\python38\lib\site-packages (from tensorflow==2.3.1->TTS==0.0.9.2) (2.1.0) Requirement already satisfied: astunparse==1.6.3 in c:\python38\lib\site-packages (from tensorflow==2.3.1->TTS==0.0.9.2) (1.6.3) Requirement already satisfied: gast==0.3.3 in c:\python38\lib\site-packages (from tensorflow==2.3.1->TTS==0.0.9.2) (0.3.3) Requirement already satisfied: google-pasta>=0.1.8 in c:\python38\lib\site-packages (from tensorflow==2.3.1->TTS==0.0.9.2) (0.2.0) Requirement already satisfied: h5py<2.11.0,>=2.10.0 in c:\python38\lib\site-packages (from tensorflow==2.3.1->TTS==0.0.9.2) (2.10.0) Requirement already satisfied: keras-preprocessing<1.2,>=1.1.1 in c:\python38\lib\site-packages (from tensorflow==2.3.1->TTS==0.0.9.2) (1.1.2) Requirement already satisfied: opt-einsum>=2.3.2 in c:\python38\lib\site-packages (from tensorflow==2.3.1->TTS==0.0.9.2) (3.4.0) Requirement already satisfied: protobuf>=3.9.2 in c:\python38\lib\site-packages (from tensorflow==2.3.1->TTS==0.0.9.2) (5.28.2) Requirement already satisfied: tensorboard<3,>=2.3.0 in c:\python38\lib\site-packages (from tensorflow==2.3.1->TTS==0.0.9.2) (2.14.0) Requirement already satisfied: tensorflow-estimator<2.4.0,>=2.3.0 in c:\python38\lib\site-packages (from tensorflow==2.3.1->TTS==0.0.9.2) (2.3.0) Requirement already satisfied: termcolor>=1.1.0 in c:\python38\lib\site-packages (from tensorflow==2.3.1->TTS==0.0.9.2) (2.4.0) Requirement already satisfied: wrapt>=1.11.1 in c:\python38\lib\site-packages (from tensorflow==2.3.1->TTS==0.0.9.2) (1.12.1) Requirement already satisfied: wheel>=0.26 in c:\python38\lib\site-packages (from tensorflow==2.3.1->TTS==0.0.9.2) (0.44.0) Requirement already satisfied: grpcio>=1.8.6 in c:\python38\lib\site-packages (from tensorflow==2.3.1->TTS==0.0.9.2) (1.67.0) Requirement already satisfied: segments in c:\python38\lib\site-packages (from phonemizer>=2.2.0->TTS==0.0.9.2) (2.2.1) Requirement already satisfied: attrs>=18.1 in c:\python38\lib\site-packages (from phonemizer>=2.2.0->TTS==0.0.9.2) (24.2.0) Requirement already satisfied: dlinfo in c:\python38\lib\site-packages (from phonemizer>=2.2.0->TTS==0.0.9.2) (1.2.1) Requirement already satisfied: typing-extensions in c:\python38\lib\site-packages (from phonemizer>=2.2.0->TTS==0.0.9.2) (4.12.2) Requirement already satisfied: cffi>=1.0 in c:\python38\lib\site-packages (from soundfile->TTS==0.0.9.2) (1.17.1) Requirement already satisfied: filelock in c:\python38\lib\site-packages (from torch>=1.5->TTS==0.0.9.2) (3.16.1) Requirement already satisfied: sympy in c:\python38\lib\site-packages (from torch>=1.5->TTS==0.0.9.2) (1.13.3) Requirement already satisfied: networkx in c:\python38\lib\site-packages (from torch>=1.5->TTS==0.0.9.2) (3.1) Requirement already satisfied: fsspec in c:\python38\lib\site-packages (from torch>=1.5->TTS==0.0.9.2) (2024.9.0) Requirement already satisfied: Werkzeug>=3.0.0 in c:\python38\lib\site-packages (from flask->TTS==0.0.9.2) (3.0.4) Requirement already satisfied: itsdangerous>=2.1.2 in c:\python38\lib\site-packages (from flask->TTS==0.0.9.2) (2.2.0) Requirement already satisfied: click>=8.1.3 in c:\python38\lib\site-packages (from flask->TTS==0.0.9.2) (8.1.7) Requirement already satisfied: blinker>=1.6.2 in c:\python38\lib\site-packages (from flask->TTS==0.0.9.2) (1.8.2) Requirement already satisfied: importlib-metadata>=3.6.0 in c:\python38\lib\site-packages (from flask->TTS==0.0.9.2) (8.5.0) Requirement already satisfied: beautifulsoup4 in c:\python38\lib\site-packages (from gdown->TTS==0.0.9.2) (4.12.3) Requirement already satisfied: requests[socks] in c:\python38\lib\site-packages (from gdown->TTS==0.0.9.2) (2.32.3) Requirement already satisfied: more-itertools>=8.5.0 in c:\python38\lib\site-packages (from inflect->TTS==0.0.9.2) (10.5.0) Requirement already satisfied: typeguard>=4.0.1 in c:\python38\lib\site-packages (from inflect->TTS==0.0.9.2) (4.3.0) Requirement already satisfied: cycler>=0.10 in c:\python38\lib\site-packages (from matplotlib->TTS==0.0.9.2) (0.12.1) Requirement already satisfied: fonttools>=4.22.0 in c:\python38\lib\site-packages (from matplotlib->TTS==0.0.9.2) (4.54.1) Requirement already satisfied: kiwisolver>=1.0.1 in c:\python38\lib\site-packages (from matplotlib->TTS==0.0.9.2) (1.4.7) Requirement already satisfied: pyparsing>=2.2.1 in c:\python38\lib\site-packages (from matplotlib->TTS==0.0.9.2) (3.1.4) Requirement already satisfied: lazy-object-proxy>=1.4.0 in c:\python38\lib\site-packages (from astroid<=2.5,>=2.4.0->pylint==2.5.3->TTS==0.0.9.2) (1.10.0) Requirement already satisfied: pycparser in c:\python38\lib\site-packages (from cffi>=1.0->soundfile->TTS==0.0.9.2) (2.22) Requirement already satisfied: zipp>=3.20 in c:\python38\lib\site-packages (from importlib-metadata>=3.6.0->flask->TTS==0.0.9.2) (3.20.2) Requirement already satisfied: MarkupSafe>=2.0 in c:\python38\lib\site-packages (from Jinja2>=2.7->bokeh==1.4.0->TTS==0.0.9.2) (2.1.5) Requirement already satisfied: threadpoolctl>=2.0.0 in c:\python38\lib\site-packages (from scikit-learn!=0.19.0,>=0.14.0->librosa==0.7.2->TTS==0.0.9.2) (3.5.0) Requirement already satisfied: google-auth<3,>=1.6.3 in c:\python38\lib\site-packages (from tensorboard<3,>=2.3.0->tensorflow==2.3.1->TTS==0.0.9.2) (2.35.0) Requirement already satisfied: google-auth-oauthlib<1.1,>=0.5 in c:\python38\lib\site-packages (from tensorboard<3,>=2.3.0->tensorflow==2.3.1->TTS==0.0.9.2) (1.0.0) Requirement already satisfied: markdown>=2.6.8 in c:\python38\lib\site-packages (from tensorboard<3,>=2.3.0->tensorflow==2.3.1->TTS==0.0.9.2) (3.7) Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in c:\python38\lib\site-packages (from tensorboard<3,>=2.3.0->tensorflow==2.3.1->TTS==0.0.9.2) (0.7.2) Requirement already satisfied: soupsieve>1.2 in c:\python38\lib\site-packages (from beautifulsoup4->gdown->TTS==0.0.9.2) (2.6) Requirement already satisfied: charset-normalizer<4,>=2 in c:\python38\lib\site-packages (from requests[socks]->gdown->TTS==0.0.9.2) (3.4.0) Requirement already satisfied: idna<4,>=2.5 in c:\python38\lib\site-packages (from requests[socks]->gdown->TTS==0.0.9.2) (3.10) Requirement already satisfied: urllib3<3,>=1.21.1 in c:\python38\lib\site-packages (from requests[socks]->gdown->TTS==0.0.9.2) (2.2.3) Requirement already satisfied: certifi>=2017.4.17 in c:\python38\lib\site-packages (from requests[socks]->gdown->TTS==0.0.9.2) (2024.8.30) Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in c:\python38\lib\site-packages (from requests[socks]->gdown->TTS==0.0.9.2) (1.7.1) Requirement already satisfied: clldutils>=1.7.3 in c:\python38\lib\site-packages (from segments->phonemizer>=2.2.0->TTS==0.0.9.2) (3.22.2) Requirement already satisfied: csvw>=1.5.6 in c:\python38\lib\site-packages (from segments->phonemizer>=2.2.0->TTS==0.0.9.2) (3.4.0) Requirement already satisfied: regex in c:\python38\lib\site-packages (from segments->phonemizer>=2.2.0->TTS==0.0.9.2) (2024.9.11) Requirement already satisfied: mpmath<1.4,>=1.1.0 in c:\python38\lib\site-packages (from sympy->torch>=1.5->TTS==0.0.9.2) (1.3.0) Requirement already satisfied: tabulate>=0.7.7 in c:\python38\lib\site-packages (from clldutils>=1.7.3->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (0.9.0) Requirement already satisfied: colorlog in c:\python38\lib\site-packages (from clldutils>=1.7.3->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (6.8.2) Requirement already satisfied: bibtexparser>=2.0.0b4 in c:\python38\lib\site-packages (from clldutils>=1.7.3->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (2.0.0b7) Requirement already satisfied: pylatexenc in c:\python38\lib\site-packages (from clldutils>=1.7.3->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (2.10) Requirement already satisfied: lxml in c:\python38\lib\site-packages (from clldutils>=1.7.3->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (5.3.0) Requirement already satisfied: babel in c:\python38\lib\site-packages (from csvw>=1.5.6->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (2.16.0) Requirement already satisfied: isodate in c:\python38\lib\site-packages (from csvw>=1.5.6->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (0.6.1) Requirement already satisfied: jsonschema in c:\python38\lib\site-packages (from csvw>=1.5.6->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (4.23.0) Requirement already satisfied: language-tags in c:\python38\lib\site-packages (from csvw>=1.5.6->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (1.2.0) Requirement already satisfied: rdflib in c:\python38\lib\site-packages (from csvw>=1.5.6->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (6.3.2) Requirement already satisfied: rfc3986<2 in c:\python38\lib\site-packages (from csvw>=1.5.6->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (1.5.0) Requirement already satisfied: uritemplate>=3.0.0 in c:\python38\lib\site-packages (from csvw>=1.5.6->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (4.1.1) Requirement already satisfied: cachetools<6.0,>=2.0.0 in c:\python38\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard<3,>=2.3.0->tensorflow==2.3.1->TTS==0.0.9.2) (5.5.0) Requirement already satisfied: pyasn1-modules>=0.2.1 in c:\python38\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard<3,>=2.3.0->tensorflow==2.3.1->TTS==0.0.9.2) (0.4.1) Requirement already satisfied: rsa<5,>=3.1.4 in c:\python38\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard<3,>=2.3.0->tensorflow==2.3.1->TTS==0.0.9.2) (4.9) Requirement already satisfied: requests-oauthlib>=0.7.0 in c:\python38\lib\site-packages (from google-auth-oauthlib<1.1,>=0.5->tensorboard<3,>=2.3.0->tensorflow==2.3.1->TTS==0.0.9.2) (2.0.0) Requirement already satisfied: pyasn1<0.7.0,>=0.4.6 in c:\python38\lib\site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard<3,>=2.3.0->tensorflow==2.3.1->TTS==0.0.9.2) (0.6.1) Requirement already satisfied: oauthlib>=3.0.0 in c:\python38\lib\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard<3,>=2.3.0->tensorflow==2.3.1->TTS==0.0.9.2) (3.2.2) Requirement already satisfied: pytz>=2015.7 in c:\python38\lib\site-packages (from babel->csvw>=1.5.6->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (2024.2) Requirement already satisfied: importlib-resources>=1.4.0 in c:\python38\lib\site-packages (from jsonschema->csvw>=1.5.6->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (6.4.5) Requirement already satisfied: jsonschema-specifications>=2023.03.6 in c:\python38\lib\site-packages (from jsonschema->csvw>=1.5.6->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (2023.12.1) Requirement already satisfied: pkgutil-resolve-name>=1.3.10 in c:\python38\lib\site-packages (from jsonschema->csvw>=1.5.6->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (1.3.10) Requirement already satisfied: referencing>=0.28.4 in c:\python38\lib\site-packages (from jsonschema->csvw>=1.5.6->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (0.35.1) Requirement already satisfied: rpds-py>=0.7.1 in c:\python38\lib\site-packages (from jsonschema->csvw>=1.5.6->segments->phonemizer>=2.2.0->TTS==0.0.9.2) (0.20.0) 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 ╰─> [153 lines of output] running editable_wheel creating C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-wheel-bl1ijlu4.tmp-w70h0es9\TTS.egg-info writing C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-wheel-bl1ijlu4.tmp-w70h0es9\TTS.egg-info\PKG-INFO writing dependency_links to C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-wheel-bl1ijlu4.tmp-w70h0es9\TTS.egg-info\dependency_links.txt writing entry points to C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-wheel-bl1ijlu4.tmp-w70h0es9\TTS.egg-info\entry_points.txt writing requirements to C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-wheel-bl1ijlu4.tmp-w70h0es9\TTS.egg-info\requires.txt writing top-level names to C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-wheel-bl1ijlu4.tmp-w70h0es9\TTS.egg-info\top_level.txt writing manifest file 'C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-wheel-bl1ijlu4.tmp-w70h0es9\TTS.egg-info\SOURCES.txt' reading manifest file 'C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-wheel-bl1ijlu4.tmp-w70h0es9\TTS.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-wheel-bl1ijlu4.tmp-w70h0es9\TTS.egg-info\SOURCES.txt' creating 'C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-wheel-bl1ijlu4.tmp-w70h0es9\TTS-0.0.9.2.dist-info' creating C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-wheel-bl1ijlu4.tmp-w70h0es9\TTS-0.0.9.2.dist-info\WHEEL running build_py -- Building version 0.0.9.2 running build_ext building 'TTS.tts.layers.glow_tts.monotonic_align.core' extension creating C:\Users\KAMAL~1.IFT\AppData\Local\Temp\tmpv0ira1yw.build-temp\Release\TTS\tts\layers\glow_tts\monotonic_align "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\numpy\core\include -Ic:\python38\include -Ic:\python38\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" /TcTTS/tts/layers/glow_tts/monotonic_align/core.c /FoC:\Users\KAMAL~1.IFT\AppData\Local\Temp\tmpv0ira1yw.build-temp\Release\TTS/tts/layers/glow_tts/monotonic_align/core.obj core.c c:\python38\include\pyconfig.h(59): fatal error C1083: Impossible d'ouvrir le fichier includeÿ: 'io.h'ÿ: No such file or directory C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\dist.py:491: SetuptoolsDeprecationWarning: Invalid dash-separated options !!
********************************************************************************
Usage of dash-separated 'build-lib' will not be supported in future
versions. Please use the underscore name 'build_lib' instead.
By 2025-Mar-03, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\dist.py:491: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'bdist-dir' will not be supported in future
versions. Please use the underscore name 'bdist_dir' instead.
By 2025-Mar-03, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\dist.py:491: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'build-dir' will not be supported in future
versions. Please use the underscore name 'build_dir' instead.
By 2025-Mar-03, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\command\bdist_wheel.py:115: RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
if get_flag("Py_DEBUG", hasattr(sys, "gettotalrefcount"), warn=(impl == "cp")):
Traceback (most recent call last):
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\_distutils\spawn.py", line 70, in spawn
subprocess.check_call(cmd, env=_inject_macos_ver(env))
File "c:\python38\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX86\\x64\\cl.exe', '/c', '/nologo', '/O2', '/W3', '/GL', '/DNDEBUG', '/MD', '-IC:\\Users\\Kamal.Ifticene\\AppData\\Local\\Temp\\pip-build-env-iype0emo\\overlay\\Lib\\site-packages\\numpy\\core\\include', '-Ic:\\python38\\include', '-Ic:\\python38\\Include', '-IC:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.41.34120\\include', '-IC:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Auxiliary\\VS\\include', '/TcTTS/tts/layers/glow_tts/monotonic_align/core.c', '/FoC:\\Users\\KAMAL~1.IFT\\AppData\\Local\\Temp\\tmpv0ira1yw.build-temp\\Release\\TTS/tts/layers/glow_tts/monotonic_align/core.obj']' returned non-zero exit status 2.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 455, in compile
self.spawn(args)
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 553, in spawn
return super().spawn(cmd, env=env)
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 1045, in spawn
spawn(cmd, dry_run=self.dry_run, **kwargs)
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\_distutils\spawn.py", line 76, in spawn
raise DistutilsExecError(
distutils.errors.DistutilsExecError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 138, in run
self._create_wheel_file(bdist_wheel)
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 341, in _create_wheel_file
files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 264, in _run_build_commands
self._run_build_subcommands()
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\command\editable_wheel.py", line 291, in _run_build_subcommands
self.run_command(name)
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\dist.py", line 991, in run_command
super().run_command(command)
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 973, in run_command
cmd_obj.run()
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\command\build_ext.py", line 98, in run
_build_ext.run(self)
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 359, in run
self.build_extensions()
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 476, in build_extensions
self._build_extensions_serial()
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 502, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\command\build_ext.py", line 263, in build_extension
_build_ext.build_extension(self, ext)
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\Cython\Distutils\build_ext.py", line 135, in build_extension
super(build_ext, self).build_extension(ext)
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 557, in build_extension
objects = self.compiler.compile(
File "C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 457, in compile
raise CompileError(msg)
distutils.errors.CompileError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
C:\Users\Kamal.Ifticene\AppData\Local\Temp\pip-build-env-iype0emo\overlay\Lib\site-packages\setuptools\_distutils\dist.py:973: _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 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[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: ERROR: Failed to build installable wheels for some pyproject.toml based projects (TTS)
C:\Python38\Project_TTS\TTS>pip install wheels ERROR: Could not find a version that satisfies the requirement wheels (from versions: none) ERROR: No matching distribution found for wheels
in install TTS mozilla in my windwos 10 :git clone https://github.com/mozilla/TTS but in have an issue need your helps
I cannot install TTS by using venv and on Bookworm Debian, it fails.
The installation error you are encountering is primarily caused by the failure of the Microsoft Visual Studio C++ compiler (cl.exe) to build native extensions during the editable installation process (pip install -e .). Additionally, there are warnings about deprecated dash-separated configuration options in setuptools, which should be updated to use underscore-separated names.
To resolve this issue, please follow the steps below:
-
Ensure Visual Studio Build Tools are Properly Installed
Verify that you have installed the latest version of Visual Studio Build Tools 2022, including the C++ build tools workload. This is essential because the build process requires the native C++ compiler and related tools. -
Update Python Packaging Tools
Upgradepip,setuptools, andwheelto their latest versions by running:
python -m pip install --upgrade pip setuptools wheel
This will also help address the deprecation warnings related to dash-separated options.
- Avoid Editable Installation Initially
To isolate the problem, try installing the package without the editable mode:
pip install .
If this succeeds, the issue may be specific to editable installations.
-
Modify Deprecated Configuration Options
Check yoursetup.cfgorsetup.pyfiles and replace any dash-separated options such asbuild-lib,bdist-dir, andbuild-dirwith their underscore-separated equivalents:build_lib,bdist_dir, andbuild_dir. -
Ensure Cython is Installed and Updated (If Applicable)
If your project uses Cython, make sure it is installed and updated:
pip install --upgrade cython
- Review Detailed Compiler Logs
If errors persist, examine the full compiler output to identify specific issues causingcl.exeto fail. This may help in diagnosing syntax errors or environment misconfigurations.
Following these steps should help resolve the build failures and deprecation warnings during installation. If problems continue after applying these solutions, please provide detailed logs and system information for further assistance.
Using cached pytz-2025.2-py2.py3-none-any.whl (509 kB)
Using cached referencing-0.35.1-py3-none-any.whl (26 kB)
Using cached rpds_py-0.20.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (360 kB)
Building wheels for collected packages: TTS, pyworld
Building wheel for TTS (pyproject.toml) ... done
Created wheel for TTS: filename=tts-0.0.9.2-cp38-cp38-linux_x86_64.whl size=482586 sha256=925fb613e0f4c9a3f996edf5f2b4d325cf6ca843f0dd67ad17171929c439405e
Stored in directory: /tmp/pip-ephem-wheel-cache-now3m10b/wheels/f1/cc/e9/4c703cdaf96514ec13fe968ccd6e4b30086f055515e48589f6
Building wheel for pyworld (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pyworld (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [1301 lines of output]
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-38/pyworld
copying pyworld/init.py -> build/lib.linux-x86_64-cpython-38/pyworld
running build_ext
Error compiling Cython file:
------------------------------------------------------------
...
default_frame_period = 5.0
default_f0_floor = 71.0
default_f0_ceil = 800.0
def dio(np.ndarray[double, ndim=1, mode="c"] x not None, int fs,
^
------------------------------------------------------------
pyworld/pyworld.pyx:93:8: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
with (nogil, cython.boundscheck(False)):
Dio(&x[0], x_length, fs, &option, &temporal_positions[0], &f0[0])
return f0, temporal_positions
def harvest(np.ndarray[double, ndim=1, mode="c"] x not None, int fs,
^
------------------------------------------------------------
pyworld/pyworld.pyx:155:12: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
with (nogil, cython.boundscheck(False)):
Harvest(&x[0], x_length, fs, &option, &temporal_positions[0], &f0[0])
return f0, temporal_positions
def stonemask(np.ndarray[double, ndim=1, mode="c"] x not None,
^
------------------------------------------------------------
pyworld/pyworld.pyx:199:14: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
Harvest(&x[0], x_length, fs, &option, &temporal_positions[0], &f0[0])
return f0, temporal_positions
def stonemask(np.ndarray[double, ndim=1, mode="c"] x not None,
np.ndarray[double, ndim=1, mode="c"] f0 not None,
^
------------------------------------------------------------
pyworld/pyworld.pyx:200:14: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return f0, temporal_positions
def stonemask(np.ndarray[double, ndim=1, mode="c"] x not None,
np.ndarray[double, ndim=1, mode="c"] f0 not None,
np.ndarray[double, ndim=1, mode="c"] temporal_positions not None,
^
------------------------------------------------------------
pyworld/pyworld.pyx:201:14: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
Resulting lower F0 limit in Hz.
"""
cdef double f0_floor = GetF0FloorForCheapTrick(fs, fft_size)
return f0_floor
def cheaptrick(np.ndarray[double, ndim=1, mode="c"] x not None,
^
------------------------------------------------------------
pyworld/pyworld.pyx:274:15: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
"""
cdef double f0_floor = GetF0FloorForCheapTrick(fs, fft_size)
return f0_floor
def cheaptrick(np.ndarray[double, ndim=1, mode="c"] x not None,
np.ndarray[double, ndim=1, mode="c"] f0 not None,
^
------------------------------------------------------------
pyworld/pyworld.pyx:275:15: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef double f0_floor = GetF0FloorForCheapTrick(fs, fft_size)
return f0_floor
def cheaptrick(np.ndarray[double, ndim=1, mode="c"] x not None,
np.ndarray[double, ndim=1, mode="c"] f0 not None,
np.ndarray[double, ndim=1, mode="c"] temporal_positions not None,
^
------------------------------------------------------------
pyworld/pyworld.pyx:276:15: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
CheapTrick(&x[0], x_length, fs, &temporal_positions[0],
&f0[0], f0_length, &option, cpp_spectrogram)
return np.array(spectrogram, dtype=np.float64)
def d4c(np.ndarray[double, ndim=1, mode="c"] x not None,
^
------------------------------------------------------------
pyworld/pyworld.pyx:334:8: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
&f0[0], f0_length, &option, cpp_spectrogram)
return np.array(spectrogram, dtype=np.float64)
def d4c(np.ndarray[double, ndim=1, mode="c"] x not None,
np.ndarray[double, ndim=1, mode="c"] f0 not None,
^
------------------------------------------------------------
pyworld/pyworld.pyx:335:8: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return np.array(spectrogram, dtype=np.float64)
def d4c(np.ndarray[double, ndim=1, mode="c"] x not None,
np.ndarray[double, ndim=1, mode="c"] f0 not None,
np.ndarray[double, ndim=1, mode="c"] temporal_positions not None,
^
------------------------------------------------------------
pyworld/pyworld.pyx:336:8: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
&f0[0], f0_length, fft_size0, &option,
cpp_aperiodicity)
return np.array(aperiodicity, dtype=np.float64)
def synthesize(np.ndarray[double, ndim=1, mode="c"] f0 not None,
^
------------------------------------------------------------
pyworld/pyworld.pyx:403:15: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cpp_aperiodicity)
return np.array(aperiodicity, dtype=np.float64)
def synthesize(np.ndarray[double, ndim=1, mode="c"] f0 not None,
np.ndarray[double, ndim=2, mode="c"] spectrogram not None,
^
------------------------------------------------------------
pyworld/pyworld.pyx:404:15: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return np.array(aperiodicity, dtype=np.float64)
def synthesize(np.ndarray[double, ndim=1, mode="c"] f0 not None,
np.ndarray[double, ndim=2, mode="c"] spectrogram not None,
np.ndarray[double, ndim=2, mode="c"] aperiodicity not None,
^
------------------------------------------------------------
pyworld/pyworld.pyx:405:15: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
Required number of coefficients.
"""
cdef int n_aper = GetNumberOfAperiodicities(fs)
return n_aper
def code_aperiodicity(np.ndarray[double, ndim=2, mode="c"] aperiodicity, fs):
^
------------------------------------------------------------
pyworld/pyworld.pyx:479:22: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
CodeAperiodicity(cpp_aper, ap_length, fs,
fft_size, cpp_coded_aper)
return np.array(coded_aper, dtype=np.float64)
def decode_aperiodicity(np.ndarray[double, ndim=2, mode="c"] coded_aperiodicity,
^
------------------------------------------------------------
pyworld/pyworld.pyx:515:24: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
DecodeAperiodicity(cpp_coded_aper, ap_length, fs, fft_size, cpp_aper)
return np.array(aper, dtype=np.float64)
def code_spectral_envelope(np.ndarray[double, ndim=2, mode="c"] spectrogram, fs,
^
------------------------------------------------------------
pyworld/pyworld.pyx:556:27: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
CodeSpectralEnvelope(cpp_sp, sp_length, fs, fft_size,
number_of_dimensions, cpp_coded_sp)
return np.array(coded_sp, dtype=np.float64)
def decode_spectral_envelope(np.ndarray[double, ndim=2, mode="c"] coded_spectral_envelope,
^
------------------------------------------------------------
pyworld/pyworld.pyx:594:29: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
option.f0_ceil = f0_ceil
option.frame_period = frame_period
option.speed = speed
option.allowed_range = allowed_range
f0_length = GetSamplesForDIO(fs, x_length, option.frame_period)
cdef np.ndarray[double, ndim=1, mode="c"] f0 = \
^
------------------------------------------------------------
pyworld/pyworld.pyx:146:9: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
option.f0_ceil = f0_ceil
option.frame_period = frame_period
option.speed = speed
option.allowed_range = allowed_range
f0_length = GetSamplesForDIO(fs, x_length, option.frame_period)
cdef np.ndarray[double, ndim=1, mode="c"] f0 = \
^
------------------------------------------------------------
pyworld/pyworld.pyx:146:9: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
option.speed = speed
option.allowed_range = allowed_range
f0_length = GetSamplesForDIO(fs, x_length, option.frame_period)
cdef np.ndarray[double, ndim=1, mode="c"] f0 = \
np.zeros(f0_length, dtype=np.dtype('float64'))
cdef np.ndarray[double, ndim=1, mode="c"] temporal_positions = \
^
------------------------------------------------------------
pyworld/pyworld.pyx:148:9: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
option.speed = speed
option.allowed_range = allowed_range
f0_length = GetSamplesForDIO(fs, x_length, option.frame_period)
cdef np.ndarray[double, ndim=1, mode="c"] f0 = \
np.zeros(f0_length, dtype=np.dtype('float64'))
cdef np.ndarray[double, ndim=1, mode="c"] temporal_positions = \
^
------------------------------------------------------------
pyworld/pyworld.pyx:148:9: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
InitializeHarvestOption(&option)
option.f0_floor = f0_floor
option.f0_ceil = f0_ceil
option.frame_period = frame_period
f0_length = GetSamplesForHarvest(fs, x_length, option.frame_period)
cdef np.ndarray[double, ndim=1, mode="c"] f0 = \
^
------------------------------------------------------------
pyworld/pyworld.pyx:190:9: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
InitializeHarvestOption(&option)
option.f0_floor = f0_floor
option.f0_ceil = f0_ceil
option.frame_period = frame_period
f0_length = GetSamplesForHarvest(fs, x_length, option.frame_period)
cdef np.ndarray[double, ndim=1, mode="c"] f0 = \
^
------------------------------------------------------------
pyworld/pyworld.pyx:190:9: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
option.f0_ceil = f0_ceil
option.frame_period = frame_period
f0_length = GetSamplesForHarvest(fs, x_length, option.frame_period)
cdef np.ndarray[double, ndim=1, mode="c"] f0 = \
np.zeros(f0_length, dtype=np.dtype('float64'))
cdef np.ndarray[double, ndim=1, mode="c"] temporal_positions = \
^
------------------------------------------------------------
pyworld/pyworld.pyx:192:9: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
option.f0_ceil = f0_ceil
option.frame_period = frame_period
f0_length = GetSamplesForHarvest(fs, x_length, option.frame_period)
cdef np.ndarray[double, ndim=1, mode="c"] f0 = \
np.zeros(f0_length, dtype=np.dtype('float64'))
cdef np.ndarray[double, ndim=1, mode="c"] temporal_positions = \
^
------------------------------------------------------------
pyworld/pyworld.pyx:192:9: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
refined_f0 : ndarray
Refined F0 contour.
"""
cdef int x_length = <int>len(x)
cdef int f0_length = <int>len(f0)
cdef np.ndarray[double, ndim=1, mode="c"] refined_f0 = \
^
------------------------------------------------------------
pyworld/pyworld.pyx:223:9: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
refined_f0 : ndarray
Refined F0 contour.
"""
cdef int x_length = <int>len(x)
cdef int f0_length = <int>len(f0)
cdef np.ndarray[double, ndim=1, mode="c"] refined_f0 = \
^
------------------------------------------------------------
pyworld/pyworld.pyx:223:9: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef int x_length = <int>len(x)
cdef int f0_length = <int>len(f0)
cdef double[:, ::1] spectrogram = np.zeros((f0_length, option.fft_size//2 + 1),
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
^
------------------------------------------------------------
pyworld/pyworld.pyx:322:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef double[:, ::1] spectrogram = np.zeros((f0_length, option.fft_size//2 + 1),
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef np.intp_t i
^
------------------------------------------------------------
pyworld/pyworld.pyx:324:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
InitializeD4COption(&option)
option.threshold = threshold
cdef double[:, ::1] aperiodicity = np.zeros((f0_length, fft_size0//2 + 1),
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
^
------------------------------------------------------------
pyworld/pyworld.pyx:390:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef double[:, ::1] aperiodicity = np.zeros((f0_length, fft_size0//2 + 1),
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp[0])
cdef np.intp_t i
^
------------------------------------------------------------
pyworld/pyworld.pyx:392:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
.format(spectrogram.shape[1], aperiodicity.shape[1]))
cdef int f0_length = <int>len(f0)
cdef int y_length = <int>(f0_length * frame_period * fs / 1000)
cdef int fft_size = (<int>spectrogram.shape[1] - 1)*2
cdef np.ndarray[double, ndim=1, mode="c"] y = \
^
------------------------------------------------------------
pyworld/pyworld.pyx:443:9: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
.format(spectrogram.shape[1], aperiodicity.shape[1]))
cdef int f0_length = <int>len(f0)
cdef int y_length = <int>(f0_length * frame_period * fs / 1000)
cdef int fft_size = (<int>spectrogram.shape[1] - 1)*2
cdef np.ndarray[double, ndim=1, mode="c"] y = \
^
------------------------------------------------------------
pyworld/pyworld.pyx:443:9: 'ndarray' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.ndarray[double, ndim=1, mode="c"] y = \
np.zeros(y_length, dtype=np.dtype('float64'))
cdef double[:, ::1] spectrogram0 = spectrogram
cdef double[:, ::1] aperiodicity0 = aperiodicity
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
^
------------------------------------------------------------
pyworld/pyworld.pyx:448:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
np.zeros(y_length, dtype=np.dtype('float64'))
cdef double[:, ::1] spectrogram0 = spectrogram
cdef double[:, ::1] aperiodicity0 = aperiodicity
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef np.intp_t[:] tmp2 = np.zeros(f0_length, dtype=np.intp)
^
------------------------------------------------------------
pyworld/pyworld.pyx:449:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef double[:, ::1] aperiodicity0 = aperiodicity
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef np.intp_t[:] tmp2 = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
^
------------------------------------------------------------
pyworld/pyworld.pyx:452:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef int n_coded_aper = get_num_aperiodicities(fs)
cdef double[:, ::1] aper = aperiodicity
cdef double[:, ::1] coded_aper = np.zeros((ap_length, n_coded_aper),
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp1 = np.zeros(ap_length, dtype=np.intp)
^
------------------------------------------------------------
pyworld/pyworld.pyx:501:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef double[:, ::1] aper = aperiodicity
cdef double[:, ::1] coded_aper = np.zeros((ap_length, n_coded_aper),
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp1 = np.zeros(ap_length, dtype=np.intp)
cdef np.intp_t[:] tmp2 = np.zeros(ap_length, dtype=np.intp)
^
------------------------------------------------------------
pyworld/pyworld.pyx:502:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp1 = np.zeros(ap_length, dtype=np.intp)
cdef np.intp_t[:] tmp2 = np.zeros(ap_length, dtype=np.intp)
cdef double **cpp_aper = <double**> (<void*> &tmp1[0])
cdef double **cpp_coded_aper = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
^
------------------------------------------------------------
pyworld/pyworld.pyx:505:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
.format(coded_aperiodicity.shape[1], n_coded_aper))
cdef double[:, ::1] coded_aper = coded_aperiodicity
cdef double[:, ::1] aper = np.zeros((ap_length, fft_size//2 + 1),
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp1 = np.zeros(ap_length, dtype=np.intp)
^
------------------------------------------------------------
pyworld/pyworld.pyx:543:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef double[:, ::1] coded_aper = coded_aperiodicity
cdef double[:, ::1] aper = np.zeros((ap_length, fft_size//2 + 1),
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp1 = np.zeros(ap_length, dtype=np.intp)
cdef np.intp_t[:] tmp2 = np.zeros(ap_length, dtype=np.intp)
^
------------------------------------------------------------
pyworld/pyworld.pyx:544:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp1 = np.zeros(ap_length, dtype=np.intp)
cdef np.intp_t[:] tmp2 = np.zeros(ap_length, dtype=np.intp)
cdef double **cpp_coded_aper = <double**> (<void*> &tmp1[0])
cdef double **cpp_aper = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
^
------------------------------------------------------------
pyworld/pyworld.pyx:547:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef int fft_size = (<int>spectrogram.shape[1] - 1)*2
cdef double[:, ::1] sp = spectrogram
cdef double[:, ::1] coded_sp = np.zeros((sp_length, number_of_dimensions),
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp1 = np.zeros(sp_length, dtype=np.intp)
^
------------------------------------------------------------
pyworld/pyworld.pyx:580:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef double[:, ::1] sp = spectrogram
cdef double[:, ::1] coded_sp = np.zeros((sp_length, number_of_dimensions),
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp1 = np.zeros(sp_length, dtype=np.intp)
cdef np.intp_t[:] tmp2 = np.zeros(sp_length, dtype=np.intp)
^
------------------------------------------------------------
pyworld/pyworld.pyx:581:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp1 = np.zeros(sp_length, dtype=np.intp)
cdef np.intp_t[:] tmp2 = np.zeros(sp_length, dtype=np.intp)
cdef double **cpp_sp = <double**> (<void*> &tmp1[0])
cdef double **cpp_coded_sp = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
^
------------------------------------------------------------
pyworld/pyworld.pyx:584:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef int sp_length = <int>len(coded_spectral_envelope)
cdef int number_of_dimensions = <int>len(coded_spectral_envelope[0])
cdef double[:, ::1] coded_sp = coded_spectral_envelope
cdef double[:, ::1] sp = np.zeros((sp_length, fft_size//2 + 1),
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp1 = np.zeros(sp_length, dtype=np.intp)
^
------------------------------------------------------------
pyworld/pyworld.pyx:617:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef int number_of_dimensions = <int>len(coded_spectral_envelope[0])
cdef double[:, ::1] coded_sp = coded_spectral_envelope
cdef double[:, ::1] sp = np.zeros((sp_length, fft_size//2 + 1),
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp1 = np.zeros(sp_length, dtype=np.intp)
cdef np.intp_t[:] tmp2 = np.zeros(sp_length, dtype=np.intp)
^
------------------------------------------------------------
pyworld/pyworld.pyx:618:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp1 = np.zeros(sp_length, dtype=np.intp)
cdef np.intp_t[:] tmp2 = np.zeros(sp_length, dtype=np.intp)
cdef double **cpp_coded_sp = <double**> (<void*> &tmp1[0])
cdef double **cpp_sp = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
^
------------------------------------------------------------
pyworld/pyworld.pyx:621:9: 'intp_t' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
cpp_spectrogram[i] = &spectrogram[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:327:46: Invalid index for memoryview specified, type <error>
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
cpp_spectrogram[i] = &spectrogram[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:327:27: Invalid index type '<error>'
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
cpp_aperiodicity[i] = &aperiodicity[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:395:48: Invalid index for memoryview specified, type <error>
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
cpp_aperiodicity[i] = &aperiodicity[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:395:28: Invalid index type '<error>'
Error compiling Cython file:
------------------------------------------------------------
...
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
cpp_spectrogram[i] = &spectrogram0[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:455:47: Invalid index for memoryview specified, type <error>
Error compiling Cython file:
------------------------------------------------------------
...
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
cpp_spectrogram[i] = &spectrogram0[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:455:27: Invalid index type '<error>'
Error compiling Cython file:
------------------------------------------------------------
...
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
cpp_spectrogram[i] = &spectrogram0[i, 0]
cpp_aperiodicity[i] = &aperiodicity0[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:456:49: Invalid index for memoryview specified, type <error>
Error compiling Cython file:
------------------------------------------------------------
...
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
cpp_spectrogram[i] = &spectrogram0[i, 0]
cpp_aperiodicity[i] = &aperiodicity0[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:456:28: Invalid index type '<error>'
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp2 = np.zeros(ap_length, dtype=np.intp)
cdef double **cpp_aper = <double**> (<void*> &tmp1[0])
cdef double **cpp_coded_aper = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(ap_length):
cpp_aper[i] = &aper[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:507:28: Invalid index for memoryview specified, type <error>
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp2 = np.zeros(ap_length, dtype=np.intp)
cdef double **cpp_aper = <double**> (<void*> &tmp1[0])
cdef double **cpp_coded_aper = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(ap_length):
cpp_aper[i] = &aper[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:507:16: Invalid index type '<error>'
Error compiling Cython file:
------------------------------------------------------------
...
cdef double **cpp_aper = <double**> (<void*> &tmp1[0])
cdef double **cpp_coded_aper = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(ap_length):
cpp_aper[i] = &aper[i, 0]
cpp_coded_aper[i] = &coded_aper[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:508:40: Invalid index for memoryview specified, type <error>
Error compiling Cython file:
------------------------------------------------------------
...
cdef double **cpp_aper = <double**> (<void*> &tmp1[0])
cdef double **cpp_coded_aper = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(ap_length):
cpp_aper[i] = &aper[i, 0]
cpp_coded_aper[i] = &coded_aper[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:508:22: Invalid index type '<error>'
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp2 = np.zeros(ap_length, dtype=np.intp)
cdef double **cpp_coded_aper = <double**> (<void*> &tmp1[0])
cdef double **cpp_aper = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(ap_length):
cpp_coded_aper[i] = &coded_aper[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:549:40: Invalid index for memoryview specified, type <error>
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp2 = np.zeros(ap_length, dtype=np.intp)
cdef double **cpp_coded_aper = <double**> (<void*> &tmp1[0])
cdef double **cpp_aper = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(ap_length):
cpp_coded_aper[i] = &coded_aper[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:549:22: Invalid index type '<error>'
Error compiling Cython file:
------------------------------------------------------------
...
cdef double **cpp_coded_aper = <double**> (<void*> &tmp1[0])
cdef double **cpp_aper = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(ap_length):
cpp_coded_aper[i] = &coded_aper[i, 0]
cpp_aper[i] = &aper[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:550:28: Invalid index for memoryview specified, type <error>
Error compiling Cython file:
------------------------------------------------------------
...
cdef double **cpp_coded_aper = <double**> (<void*> &tmp1[0])
cdef double **cpp_aper = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(ap_length):
cpp_coded_aper[i] = &coded_aper[i, 0]
cpp_aper[i] = &aper[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:550:16: Invalid index type '<error>'
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp2 = np.zeros(sp_length, dtype=np.intp)
cdef double **cpp_sp = <double**> (<void*> &tmp1[0])
cdef double **cpp_coded_sp = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(sp_length):
cpp_sp[i] = &sp[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:586:24: Invalid index for memoryview specified, type <error>
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp2 = np.zeros(sp_length, dtype=np.intp)
cdef double **cpp_sp = <double**> (<void*> &tmp1[0])
cdef double **cpp_coded_sp = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(sp_length):
cpp_sp[i] = &sp[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:586:14: Invalid index type '<error>'
Error compiling Cython file:
------------------------------------------------------------
...
cdef double **cpp_sp = <double**> (<void*> &tmp1[0])
cdef double **cpp_coded_sp = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(sp_length):
cpp_sp[i] = &sp[i, 0]
cpp_coded_sp[i] = &coded_sp[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:587:36: Invalid index for memoryview specified, type <error>
Error compiling Cython file:
------------------------------------------------------------
...
cdef double **cpp_sp = <double**> (<void*> &tmp1[0])
cdef double **cpp_coded_sp = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(sp_length):
cpp_sp[i] = &sp[i, 0]
cpp_coded_sp[i] = &coded_sp[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:587:20: Invalid index type '<error>'
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp2 = np.zeros(sp_length, dtype=np.intp)
cdef double **cpp_coded_sp = <double**> (<void*> &tmp1[0])
cdef double **cpp_sp = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(sp_length):
cpp_coded_sp[i] = &coded_sp[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:623:36: Invalid index for memoryview specified, type <error>
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp2 = np.zeros(sp_length, dtype=np.intp)
cdef double **cpp_coded_sp = <double**> (<void*> &tmp1[0])
cdef double **cpp_sp = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(sp_length):
cpp_coded_sp[i] = &coded_sp[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:623:20: Invalid index type '<error>'
Error compiling Cython file:
------------------------------------------------------------
...
cdef double **cpp_coded_sp = <double**> (<void*> &tmp1[0])
cdef double **cpp_sp = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(sp_length):
cpp_coded_sp[i] = &coded_sp[i, 0]
cpp_sp[i] = &sp[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:624:24: Invalid index for memoryview specified, type <error>
Error compiling Cython file:
------------------------------------------------------------
...
cdef double **cpp_coded_sp = <double**> (<void*> &tmp1[0])
cdef double **cpp_sp = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
for i in range(sp_length):
cpp_coded_sp[i] = &coded_sp[i, 0]
cpp_sp[i] = &sp[i, 0]
^
------------------------------------------------------------
pyworld/pyworld.pyx:624:14: Invalid index type '<error>'
Error compiling Cython file:
------------------------------------------------------------
...
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
^
------------------------------------------------------------
pyworld/pyworld.pyx:326:17: Coercion from Python not allowed without the GIL
Error compiling Cython file:
------------------------------------------------------------
...
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
^
------------------------------------------------------------
pyworld/pyworld.pyx:326:17: Iterating over Python object not allowed without gil
Error compiling Cython file:
------------------------------------------------------------
...
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
^
------------------------------------------------------------
pyworld/pyworld.pyx:326:22: Calling gil-requiring function not allowed without gil
Error compiling Cython file:
------------------------------------------------------------
...
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
^
------------------------------------------------------------
pyworld/pyworld.pyx:326:22: Constructing Python tuple not allowed without gil
Error compiling Cython file:
------------------------------------------------------------
...
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
^
------------------------------------------------------------
pyworld/pyworld.pyx:326:23: Converting to Python object not allowed without gil
Error compiling Cython file:
------------------------------------------------------------
...
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
^
------------------------------------------------------------
pyworld/pyworld.pyx:394:17: Coercion from Python not allowed without the GIL
Error compiling Cython file:
------------------------------------------------------------
...
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
^
------------------------------------------------------------
pyworld/pyworld.pyx:394:17: Iterating over Python object not allowed without gil
Error compiling Cython file:
------------------------------------------------------------
...
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
^
------------------------------------------------------------
pyworld/pyworld.pyx:394:22: Calling gil-requiring function not allowed without gil
Error compiling Cython file:
------------------------------------------------------------
...
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
^
------------------------------------------------------------
pyworld/pyworld.pyx:394:22: Constructing Python tuple not allowed without gil
Error compiling Cython file:
------------------------------------------------------------
...
dtype=np.dtype('float64'))
cdef np.intp_t[:] tmp = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
^
------------------------------------------------------------
pyworld/pyworld.pyx:394:23: Converting to Python object not allowed without gil
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp2 = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
^
------------------------------------------------------------
pyworld/pyworld.pyx:454:17: Coercion from Python not allowed without the GIL
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp2 = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
^
------------------------------------------------------------
pyworld/pyworld.pyx:454:17: Iterating over Python object not allowed without gil
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp2 = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
^
------------------------------------------------------------
pyworld/pyworld.pyx:454:22: Calling gil-requiring function not allowed without gil
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp2 = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
^
------------------------------------------------------------
pyworld/pyworld.pyx:454:22: Constructing Python tuple not allowed without gil
Error compiling Cython file:
------------------------------------------------------------
...
cdef np.intp_t[:] tmp2 = np.zeros(f0_length, dtype=np.intp)
cdef double **cpp_spectrogram = <double**> (<void*> &tmp[0])
cdef double **cpp_aperiodicity = <double**> (<void*> &tmp2[0])
cdef np.intp_t i
with (nogil, cython.boundscheck(False)):
for i in range(f0_length):
^
------------------------------------------------------------
pyworld/pyworld.pyx:454:23: Converting to Python object not allowed without gil
Compiling pyworld/pyworld.pyx because it changed.
[1/1] Cythonizing pyworld/pyworld.pyx
Traceback (most recent call last):
File "/media/biblioteka/58047E9D047E7DB6/TTS/mozilaTTS-venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "/media/biblioteka/58047E9D047E7DB6/TTS/mozilaTTS-venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
File "/media/biblioteka/58047E9D047E7DB6/TTS/mozilaTTS-venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
return _build_backend().build_wheel(
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 437, in build_wheel
return _build(['bdist_wheel', '--dist-info-dir', str(metadata_directory)])
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 425, in _build
return self._build_with_temp_dir(
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 406, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 319, in run_setup
exec(code, locals())
File "<string>", line 26, in <module>
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 183, in setup
return run_commands(dist)
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
dist.run_commands()
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 999, in run_command
super().run_command(command)
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/command/bdist_wheel.py", line 400, in run
self.run_command("build")
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 999, in run_command
super().run_command(command)
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 999, in run_command
super().run_command(command)
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 98, in run
_build_ext.run(self)
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
self.build_extensions()
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 476, in build_extensions
self._build_extensions_serial()
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 502, in _build_extensions_serial
self.build_extension(ext)
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 263, in build_extension
_build_ext.build_extension(self, ext)
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/Cython/Distutils/build_ext.py", line 131, in build_extension
new_ext = cythonize(
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
cythonize_one(*args)
File "/tmp/pip-build-env-o_oz4gl1/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1298, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: pyworld/pyworld.pyx
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyworld
Successfully built TTS
Failed to build pyworld
ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyworld)
During Pip install e ., I got this error.. How can I fix this?