auto-subtitle icon indicating copy to clipboard operation
auto-subtitle copied to clipboard

Request to update README: Seems like you need to use Python 3.8+

Open lzmunch opened this issue 1 year ago • 0 comments

According to the latest openai-whisper docs, it works best with python 3.8.8+

I assume there is a way to lock down the version of openai-whisper to be compatible with 3.7, but I thought it might be useful to make note of that.

I was running into a syntax error when trying to run auto-subtitle after installing in a python 3.7.9 environment (:= is not available until 3.8):

...
File "c:\users\lzmunch\dev\python_3.7.9\auto_subtitle\lib\site-packages\whisper\utils.py", line 108
    if word_timings := segment.get("words", None):
                     ^
SyntaxError: invalid syntax

lzmunch avatar Jul 09 '24 07:07 lzmunch