加载whisper报错
MarkXHu1943 opened this issue · comments
[LOG][INFO] Whisper未加载!
[LOG][INFO] Exception in Tkinter callback
[LOG][INFO] Traceback (most recent call last):
[LOG][INFO]
[LOG][INFO] File "C:\Python312\Lib\tkinter_init_.py", line 1967, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
[LOG][INFO]
[LOG][INFO] File "D:\Portable\git\bili2text\window.py", line 130, in load_whisper
import speech2text
[LOG][INFO]
[LOG][INFO] File "D:\Portable\git\bili2text\speech2text.py", line 1, in
import whisper
[LOG][INFO]
[LOG][INFO] File "C:\Python312\Lib\site-packages\whisper.py", line 69, in
libc = ctypes.CDLL(libc_name)
^^^^^^^^^^^^^^^^^^^^^^
[LOG][INFO]
[LOG][INFO] File "C:\Python312\Lib\ctypes_init_.py", line 369, in init
if '/' in name or '\' in name:
^^^^^^^^^^^
[LOG][INFO]
[LOG][INFO] TypeError: argument of type 'NoneType' is not iterable
安装了错的whisper,要用pip install -U openai-whisper安装
安装了错的whisper,要用pip install -U openai-whisper安装
安装好后点击加载whisper就会GUI卡死OTZ,使用main打开的话又无法解析URL,好怪,大佬有办法吗