FileNotFound error on Windows #61
-
In Initial testing, I wanted to translate/transcribe some audio files and copy pasted the code that was written in the documentation, unfortunately, it shows that it can't find the file. Even the though the audio files and the python script are in the same directory. is there any catch, I'm missing out? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 11 replies
-
move to the same folder of your sound in cmd. then it works |
Beta Was this translation helpful? Give feedback.
-
@sleepingcat4 @junlanlu ffmpeg cli setup can be troublesome, I have created a whisper package that does not require manual ffmpeg installation. Feel free to try it: https://github.com/fcakyon/pywhisper |
Beta Was this translation helpful? Give feedback.
-
Thanks, having the same problem but on replicate.ai, so a local library can't solve it. I've put some debugging into where it happens:
|
Beta Was this translation helpful? Give feedback.
-
I am also having the same issue. It works fine on Google Colab, but trying to run in Python directly on my machine, either in PyCharm or VSCode results in the FileNotFound issue. |
Beta Was this translation helpful? Give feedback.
-
I used absolute file path as a quick fix. it works. |
Beta Was this translation helpful? Give feedback.
-
I was able to resolve the issue. It turns out that the problem was due to an improper installation of ffmpeg. Fortunately, I came across a helpful resource at geeksforgeeks that provided detailed instructions on how to install ffmpeg correctly. Following the steps outlined in the guide, I was able to install ffmpeg successfully, and it is now working perfectly on my Windows 11 system. In visual studio code also it is working now. |
Beta Was this translation helpful? Give feedback.
-
To solve the problem on my side on Window :
And add to your script
For me is :
Now that working. |
Beta Was this translation helpful? Give feedback.
I was able to resolve the issue. It turns out that the problem was due to an improper installation of ffmpeg. Fortunately, I came across a helpful resource at geeksforgeeks that provided detailed instructions on how to install ffmpeg correctly. Following the steps outlined in the guide, I was able to install ffmpeg successfully, and it is now working perfectly on my Windows 11 system. In visual studio code also it is working now.