Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError: [WinError 2] The system cannot find the file specified #85

Open
Rakushoi opened this issue Jun 10, 2024 · 1 comment

Comments

@Rakushoi
Copy link

Hi, i tried to use this package to subtitle a video but i get this error message every time, would be nice if sb could help me with this error message

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\Name\anaconda3\envs\auto-translate\Scripts\auto_subtitle.exe_main
.py", line 7, in
File "C:\Users\Name\anaconda3\envs\auto-translate\Lib\site-packages\auto_subtitle\cli.py", line 49, in main
audios = get_audio(args.pop("video"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Name\anaconda3\envs\auto-translate\Lib\site-packages\auto_subtitle\cli.py", line 84, in get_audio
).run(quiet=True, overwrite_output=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Name\anaconda3\envs\auto-translate\Lib\site-packages\ffmpeg_run.py", line 313, in run
process = run_async(
^^^^^^^^^^
File "C:\Users\Name\anaconda3\envs\auto-translate\Lib\site-packages\ffmpeg_run.py", line 284, in run_async
return subprocess.Popen(
^^^^^^^^^^^^^^^^^
File "C:\Users\Name\anaconda3\envs\auto-translate\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Name\anaconda3\envs\auto-translate\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified

@zaltinsoy
Copy link

I solved a similar file / folder problem with #81, it might be helpful for this case too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants