tmoroney / auto-subs

Generate subtitles using OpenAI Whisper in Davinci Resolve editing software.
https://tom-moroney.com/auto-subs/
MIT License
597 stars 35 forks source link

Auto-Subs not working on Python 3.13 #93

Open LeckdiHenn opened 1 month ago

LeckdiHenn commented 1 month ago

I know that Python 3.13 was just released, but i am pretty new to coding so i don't understand why Auto Subs shouldn't work on the new version. I can install the script and it shows up in DR but then there is this error:

Traceback (most recent call last): File "C:\ProgramData\Blackmagic Design\DaVinci Resolve\Fusion\Scripts\Utility\auto-subs.py", line 26, in import stable_whisper ModuleNotFoundError: No module named 'stable_whisper'

I already tried the new DR Fix, but i can't install open ai whisper on Python 3.13... What could i do to fix that?

Vigneshkumar212 commented 2 weeks ago

hi, different versions of python use different methods or changes that may break support for other things that whisper may require. Also open ai might have released stable_whisper to only work on that version of python. I'd recommended you uninstall python 3.13 and search for any version of python 3.8-3.11, I personally use 3.10 and it works perfectly!