Skip to content

FileNotFoundError: [WinError 2] #272

@LoreTamba

Description

@LoreTamba

Hi, I get this error:

[NeMo W 2024-11-18 11:02:15 nemo_logging:393] A:\Lorenzo\Desktop\whisper-diarization-main\venv\Lib\site-packages\huggingface_hub\file_download.py:1132: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
warnings.warn(

Traceback (most recent call last):
File "A:\Lorenzo\Desktop\whisper-diarization-main\diarize.py", line 172, in
tokens_starred, text_starred = preprocess_text(
^^^^^^^^^^^^^^^^
File "A:\Lorenzo\Desktop\whisper-diarization-main\venv\Lib\site-packages\ctc_forced_aligner\text_utils.py", line 220, in preprocess_text
tokens = get_uroman_tokens(norm_text, language)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "A:\Lorenzo\Desktop\whisper-diarization-main\venv\Lib\site-packages\ctc_forced_aligner\text_utils.py", line 153, in get_uroman_tokens
assert not subprocess.call(
^^^^^^^^^^^^^^^^
File "C:\Users\loren\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 389, in call
with Popen(*popenargs, **kwargs) as p:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\loren\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\loren\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] Impossibile trovare il file specificato

Can you pls give me an explanation?
I also tried to reinstall perl as it was highlighted in another (closed) issue but it doesn't work

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions