zackees / transcribe-anything

Input a local file or url and this service will transcribe it using Whisper AI. Completely private and Free 🤯🤯🤯
MIT License
419 stars 34 forks source link

'whisper' is not recognized as an internal or external command, operable program or batch file. #21

Open NakedRaccoon opened 3 weeks ago

NakedRaccoon commented 3 weeks ago

Installed the package according to readme.md and tried to run command, but the following error occurred:

PS D:\python\transcriber> transcribe-anything https://www.youtube.com/watch?v=dQw4w9WgXcQ
'whisper' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "D:\Program Files (x86)\python\3115\Scripts\transcribe-anything.exe\__main__.py", line 7, in <module>
  File "D:\Program Files (x86)\python\3115\Lib\site-packages\transcribe_anything\_cmd.py", line 154, in main
    args = parse_arguments()
           ^^^^^^^^^^^^^^^^^
  File "D:\Program Files (x86)\python\3115\Lib\site-packages\transcribe_anything\_cmd.py", line 60, in parse_arguments
    whisper_options = get_whisper_options()
                      ^^^^^^^^^^^^^^^^^^^^^
  File "D:\Program Files (x86)\python\3115\Lib\site-packages\transcribe_anything\_cmd.py", line 52, in get_whisper_options
    whisper_options = parse_whisper_options()
                      ^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Program Files (x86)\python\3115\Lib\site-packages\transcribe_anything\parse_whisper_options.py", line 28, in parse_whisper_options
    stdout = subprocess.check_output(
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Program Files (x86)\python\3115\Lib\subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Program Files (x86)\python\3115\Lib\subprocess.py", line 571, in run 
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'whisper --help' returned non-zero exit status 1.