robinhad / ukrainian-tts

Ukrainian TTS (text-to-speech) using ESPNET
https://huggingface.co/spaces/robinhad/ukrainian-tts
MIT License
195 stars 17 forks source link

Windows installation crashes #32

Closed roman-smolnyk closed 1 year ago

roman-smolnyk commented 1 year ago

I have an issue with installing this module on my machine.

Setup: Windows 10 Virtual Python Environment 3.9

Command executed: pip install git+https://github.com/robinhad/ukrainian-tts.git

Error:

Building wheels for collected packages: ctc-segmentation
  Building wheel for ctc-segmentation (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for ctc-segmentation (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [18 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-39
      creating build\lib.win-amd64-cpython-39\ctc_segmentation
      copying ctc_segmentation\ctc_segmentation.py -> build\lib.win-amd64-cpython-39\ctc_segmentation
      copying ctc_segmentation\partitioning.py -> build\lib.win-amd64-cpython-39\ctc_segmentation
      copying ctc_segmentation\__init__.py -> build\lib.win-amd64-cpython-39\ctc_segmentation
      running build_ext
      building 'ctc_segmentation.ctc_segmentation_dyn' extension
      creating build\temp.win-amd64-cpython-39
      creating build\temp.win-amd64-cpython-39\Release
      creating build\temp.win-amd64-cpython-39\Release\ctc_segmentation
      "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\dell\AppData\Local\Temp\pip-build-env-1a6sa50c\overlay\Lib\site-packages\numpy\core\include -ID:\Roman\Projects\Python\python-physical-activity\.venv_39\include -ID:\Roman\Projects\Python\python-physical-activity\.venv_39\Scripts\include -ID:\Roman\Projects\Python\python-physical-activity\.venv_39\Scripts\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcctc_segmentation/ctc_segmentation_dyn.c /Fobuild\temp.win-amd64-cpython-39\Release\ctc_segmentation/ctc_segmentation_dyn.obj
      ctc_segmentation_dyn.c
      ctc_segmentation/ctc_segmentation_dyn.c(38): fatal error C1083: Cannot open include file: 'Python.h': No such file or directory
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\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 wheel for ctc-segmentation
Failed to build ctc-segmentation
ERROR: Could not build wheels for ctc-segmentation, which is required to install pyproject.toml-based projects
robinhad commented 1 year ago

ctc_segmentation/ctc_segmentation_dyn.c(38): fatal error C1083: Cannot open include file: 'Python.h': No such file or directory виглядає що Python встановлений без visual c++ headers, треба глянути в інсталяції

robinhad commented 1 year ago

Closed due to inactivity. Feel free to comment.