Replies: 1 comment
-
Hello, I encountered a similar issue while trying to package my Python program using auto-py-to-exe. The root cause of the problem was that certain files, such as mel_filters.npz, were not being located correctly during runtime. These files were included in the build but placed in a directory structure that the program could not find. To resolve this, I added the entire whisper folder from my .venv directory to the --add-data parameter. This ensured that the required files were bundled correctly and accessible from the appropriate directory during execution. The PyInstaller command generated by auto-py-to-exe that successfully resolved the issue was:
I hope this explanation helps resolve the issue for you. Best regards! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I am running my exe on Windows, I get this error:
log.pyc | 2024-11-14 21:04:31 | Error transcribing audio using tiny model | error: [Errno 2] No such file or directory: 'C:\Users\Mominur\AppData\Local\Temp\_MEI64962\whisper\assets\mel_filters.npz'
Please can you help me to solve this issue?
Beta Was this translation helpful? Give feedback.
All reactions