CosyVoice icon indicating copy to clipboard operation
CosyVoice copied to clipboard

我遇到了import whisper这个问题,怎么解决

Open Zyg187 opened this issue 1 year ago • 5 comments

已经按照教程下载环境和模型 D:\anaconda\envs\cosyvoice\python.exe C:\Users\zyg\Desktop\CosyVoice_For_Windows-main\webui.py 2024-08-05 16:21:07,422 - modelscope - INFO - PyTorch version 2.0.1+cu118 Found. 2024-08-05 16:21:07,424 - modelscope - INFO - Loading ast index from C:\Users\zyg.cache\modelscope\ast_indexer 2024-08-05 16:21:07,545 - modelscope - INFO - Loading done! Current index file version is 1.15.0, with md5 1e11f8386aec41c41543daa60d3f8d92 and a total number of 980 components indexed Traceback (most recent call last): File "C:\Users\zyg\Desktop\CosyVoice_For_Windows-main\webui.py", line 41, in from cosyvoice.cli.cosyvoice import CosyVoice File "C:\Users\zyg\Desktop\CosyVoice_For_Windows-main\cosyvoice\cli\cosyvoice.py", line 20, in from cosyvoice.cli.frontend import CosyVoiceFrontEnd File "C:\Users\zyg\Desktop\CosyVoice_For_Windows-main\cosyvoice\cli\frontend.py", line 18, in import whisper File "D:\anaconda\envs\cosyvoice\lib\site-packages\whisper.py", line 69, in libc = ctypes.CDLL(libc_name) File "D:\anaconda\envs\cosyvoice\lib\ctypes_init_.py", line 363, in init if '/' in name or '\' in name: TypeError: argument of type 'NoneType' is not iterable

Zyg187 avatar Aug 05 '24 08:08 Zyg187

never meet this, install environment again exactly according to readme

aluminumbox avatar Aug 10 '24 01:08 aluminumbox

我也遇到这个问题,请问怎么解决的呃?

web-masser avatar Aug 24 '24 05:08 web-masser

pip uninstall whisper pip install openai-whisper

lonerlin avatar Feb 15 '25 14:02 lonerlin

我也遇到了差不多的问题... Image

Conphyr avatar May 07 '25 03:05 Conphyr

have any update ? I have the same of issue....

zqmx avatar Oct 15 '25 16:10 zqmx