MahmoudAshraf97 / whisper-diarization

Automatic Speech Recognition with Speaker Diarization based on OpenAI Whisper
BSD 2-Clause "Simplified" License
3.72k stars 326 forks source link

No module names 'faster_whisper' #52

Closed Reelback96 closed 1 year ago

Reelback96 commented 1 year ago

Hi there,

I'm getting an error that the "faster_whisper" module doesn't exist. Would love any guidance.

Thanks!

MahmoudAshraf97 commented 1 year ago

Hi, please install the requirements

On Mon, Jun 12, 2023, 3:01 PM Reelback96 @.***> wrote:

Hi there,

I'm getting an error that the "faster_whisper" module doesn't exist. Would love any guidance.

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/MahmoudAshraf97/whisper-diarization/issues/52, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHXHGLFH2D7WRTMBY726B23XK4AJJANCNFSM6AAAAAAZDIQHRI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Reelback96 commented 1 year ago

Hi there, I have installed the requirements. It seems to fail at installing some things... not sure exactly what:

`Building wheels for collected packages: whisperx, demucs, youtokentome, texterrors
  Building wheel for whisperx (setup.py) ... done
  Created wheel for whisperx: filename=whisperx-1.0-py3-none-any.whl size=1203174 sha256=652d974c24d063d77a0b5d2673834c4329f2d5c9c1fe4bc303370e9ecf29d74f
  Stored in directory: c:\users\jonat\appdata\local\pip\cache\wheels\d8\33\db\4811591dc75581e3c6151409c9ded86b0041f4ce940b6b2c34
  Building wheel for demucs (setup.py) ... done
  Created wheel for demucs: filename=demucs-4.0.1a2-py3-none-any.whl size=78768 sha256=592c20cd13cf7ce34a2bb142904b937ddefa7b022aa1dbd29230ffea8bfc8791
  Stored in directory: C:\Users\jonat\AppData\Local\Temp\pip-ephem-wheel-cache-m5rsl804\wheels\21\6b\bd\30185b28ba83a43267385861f6635b3a0ea79fcdfe9f281926
  Building wheel for youtokentome (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [12 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\youtokentome
      copying youtokentome\youtokentome.py -> build\lib.win-amd64-cpython-39\youtokentome
      copying youtokentome\yttm_cli.py -> build\lib.win-amd64-cpython-39\youtokentome
      copying youtokentome\__init__.py -> build\lib.win-amd64-cpython-39\youtokentome
      running build_ext
      building '_youtokentome_cython' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for youtokentome
  Running setup.py clean for youtokentome
  Building wheel for texterrors (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [11 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\texterrors
      copying texterrors\texterrors.py -> build\lib.win-amd64-cpython-39\texterrors
      copying texterrors\__init__.py -> build\lib.win-amd64-cpython-39\texterrors
      running build_ext
      building 'texterrors_align' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for texterrors
  Running setup.py clean for texterrors
Successfully built whisperx demucs
Failed to build youtokentome texterrors
Installing collected packages: youtokentome, texterrors, stack-data, sacremoses, jupyter-client, jiwer, inflect, hydra-core, GitPython, wandb, ipython, g2p-en, dora-search, pytorch-lightning, openunmix, ipykernel, deepmultilingualpunctuation, pyannote.pipeline, nemo_toolkit, ipywidgets, demucs, pyannote.audio, whisperx
  Running setup.py install for youtokentome ... error
  error: subprocess-exited-with-error

  × Running setup.py install for youtokentome did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      running install
      C:\Users\jonat\AppData\Local\Programs\Python\Python39\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-39
      creating build\lib.win-amd64-cpython-39\youtokentome
      copying youtokentome\youtokentome.py -> build\lib.win-amd64-cpython-39\youtokentome
      copying youtokentome\yttm_cli.py -> build\lib.win-amd64-cpython-39\youtokentome
      copying youtokentome\__init__.py -> build\lib.win-amd64-cpython-39\youtokentome
      running build_ext
      building '_youtokentome_cython' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> youtokentome`
MahmoudAshraf97 commented 1 year ago

You need to install Microsoft Visual C++ 14.0 or greater. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

On Mon, Jun 12, 2023, 3:24 PM Reelback96 @.***> wrote:

Hi there, I have installed the requirements. It seems to fail at installing some things... not sure exactly what:

`Building wheels for collected packages: whisperx, demucs, youtokentome, texterrors Building wheel for whisperx (setup.py) ... done Created wheel for whisperx: filename=whisperx-1.0-py3-none-any.whl size=1203174 sha256=652d974c24d063d77a0b5d2673834c4329f2d5c9c1fe4bc303370e9ecf29d74f Stored in directory: c:\users\jonat\appdata\local\pip\cache\wheels\d8\33\db\4811591dc75581e3c6151409c9ded86b0041f4ce940b6b2c34 Building wheel for demucs (setup.py) ... done Created wheel for demucs: filename=demucs-4.0.1a2-py3-none-any.whl size=78768 sha256=592c20cd13cf7ce34a2bb142904b937ddefa7b022aa1dbd29230ffea8bfc8791 Stored in directory: C:\Users\jonat\AppData\Local\Temp\pip-ephem-wheel-cache-m5rsl804\wheels\21\6b\bd\30185b28ba83a43267385861f6635b3a0ea79fcdfe9f281926 Building wheel for youtokentome (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [12 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\youtokentome copying youtokentome\youtokentome.py -> build\lib.win-amd64-cpython-39\youtokentome copying youtokentome\yttmcli.py -> build\lib.win-amd64-cpython-39\youtokentome copying youtokentomeinit_.py -> build\lib.win-amd64-cpython-39\youtokentome running build_ext building '_youtokentome_cython' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for youtokentome Running setup.py clean for youtokentome Building wheel for texterrors (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [11 lines of output] running bdist_wheel running build running buildpy creating build creating build\lib.win-amd64-cpython-39 creating build\lib.win-amd64-cpython-39\texterrors copying texterrors\texterrors.py -> build\lib.win-amd64-cpython-39\texterrors copying texterrorsinit_.py -> build\lib.win-amd64-cpython-39\texterrors running build_ext building 'texterrors_align' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for texterrors Running setup.py clean for texterrors Successfully built whisperx demucs Failed to build youtokentome texterrors Installing collected packages: youtokentome, texterrors, stack-data, sacremoses, jupyter-client, jiwer, inflect, hydra-core, GitPython, wandb, ipython, g2p-en, dora-search, pytorch-lightning, openunmix, ipykernel, deepmultilingualpunctuation, pyannote.pipeline, nemo_toolkit, ipywidgets, demucs, pyannote.audio, whisperx Running setup.py install for youtokentome ... error error: subprocess-exited-with-error

× Running setup.py install for youtokentome did not run successfully. │ exit code: 1 ╰─> [14 lines of output] running install C:\Users\jonat\AppData\Local\Programs\Python\Python39\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build\lib.win-amd64-cpython-39 creating build\lib.win-amd64-cpython-39\youtokentome copying youtokentome\youtokentome.py -> build\lib.win-amd64-cpython-39\youtokentome copying youtokentome\yttmcli.py -> build\lib.win-amd64-cpython-39\youtokentome copying youtokentomeinit_.py -> build\lib.win-amd64-cpython-39\youtokentome running build_ext building '_youtokentome_cython' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> youtokentome`

— Reply to this email directly, view it on GitHub https://github.com/MahmoudAshraf97/whisper-diarization/issues/52#issuecomment-1587236458, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHXHGLATHJBVQVHHQZFWJPTXK4C6LANCNFSM6AAAAAAZDIQHRI . You are receiving this because you commented.Message ID: @.***>