baxtree / subaligner

Automatically synchronize and translate subtitles, or create new ones by transcribing, using pre-trained DNNs, Forced Alignments and Transformers. https://subaligner.readthedocs.io/
https://hub.docker.com/r/baxtree/subaligner
MIT License
440 stars 18 forks source link

wheel build issue on fresh install #92

Open ClaireCJS opened 2 hours ago

ClaireCJS commented 2 hours ago

Issue Template

First of all, thank you for finding the bugs. Please help us improve Subaligner by providing the bug report as much as possible in the following format.

Describe the bug

A clear and concise description of what the bug is: pip install subaligner[stretch] failed

To Reproduce

Steps to reproduce the behavior: Follow along with the help on README.me to install up to the pip install subaligner[stretch] step. [I am intending to do a FULL installation of ALL components, just FYI]

Expected behavior

A clear and concise description of what you expected to happen: Successful wheel build.

Screenshots and logs

If applicable, add screenshots and/or logs to help explain your problem. You can obtain detailed logs by passing in the --debug or -d flag when running the subaligner_1pass, subaligner_2pass or subaligner CLI.

opying aeneas\tools\res\sonnet.zzz -> build\lib.win-amd64-cpython-310\aeneas\tools\res
      copying aeneas\tools\res\subtitles.txt -> build\lib.win-amd64-cpython-310\aeneas\tools\res
      copying aeneas\tools\res\unparsed.xhtml -> build\lib.win-amd64-cpython-310\aeneas\tools\res
      copying aeneas\tools\res\words.txt -> build\lib.win-amd64-cpython-310\aeneas\tools\res
      copying aeneas\tools\README.md -> build\lib.win-amd64-cpython-310\aeneas\tools
      copying aeneas\ttswrappers\README.md -> build\lib.win-amd64-cpython-310\aeneas\ttswrappers
      running build_ext
      INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      building 'aeneas.cdtw.cdtw' extension
      b'\\\x00C\x00o\x00m\x00m\x00o\x00n\x00 \x00w\x00a\x00s\x00 \x00u\x00n\x00e\x00x\x00p\x00e\x00c\x00t\x00e\x00d\x00 \x00a\x00t\x00 \x00t\x00h\x00i\x00s\x00 \x00t\x00i\x00m\x00e\x00.\x00\r\x00\n\x00'
      error: Error executing cmd /u /c "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64 && set
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for aeneas
  Running setup.py clean for aeneas
Failed to build aeneas
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (aeneas)

image

Media files

N/A

Desktop (please complete the following information):

Additional context

Add any other context about the problem here.

I'm just following instructions, sorry!

ClaireCJS commented 2 hours ago

The dev one fails too. Same reason. Maybe it's nothing.