[WinError 2] The system cannot find the file specified #109
-
I was just testing it out and couldn't get any audio, no matter how long, to transcribe.
So the closest error I assume it is, is a subprocess.Popen() error, but I'm not sure how to solve it. It's something on the whisper library side, cause on my side, this is my simple code:
any thoughts? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 9 replies
-
I was using the wrong environment, one without ffmpeg. Seems it couldn't find it. Answer: Ensure you have ffmpeg |
Beta Was this translation helpful? Give feedback.
-
this helped me, thanks :) |
Beta Was this translation helpful? Give feedback.
-
thank you, I have installed ffmpeg and can use whisper |
Beta Was this translation helpful? Give feedback.
-
Thank you! And here I find for my case, pip install ffmpeg/ffmpeg-python doesn't work but choco work! |
Beta Was this translation helpful? Give feedback.
-
You can also try running the program as an administrator / root. |
Beta Was this translation helpful? Give feedback.
-
Why doesn't pip install ffmpeg-python work? I already know I'm in the correct venv. |
Beta Was this translation helpful? Give feedback.
I was using the wrong environment, one without ffmpeg. Seems it couldn't find it.
Glad it was simple though it did give me a headache. XD
Answer: Ensure you have ffmpeg
$ choco install ffmpeg