CosyVoice icon indicating copy to clipboard operation
CosyVoice copied to clipboard

ModuleNotFoundError: No module named 'whisper'

Open Conphyr opened this issue 8 months ago • 2 comments

As what I have mentioned, when I tried to run the WebUi by prompting the command "python3 webui.py --port 50000 --model_dir pretrained_models/CosyVoice-300M" in the Anaconda Prompt, the console returns an error saying "No module named 'whisper'", despite the fact that it has been installed... If anyone can help?

(I ran the cmd line in the cosyvoice environment.)

Image

Conphyr avatar May 07 '25 03:05 Conphyr

updated: Changed "python3" into "python" and the batch process continued successfully (it seemed that "python3" is for Linux env, but not for Windows)... at the beginning. Then the launching process just stuck. I need to go through the batch process again tonight for more details.

Conphyr avatar May 08 '25 12:05 Conphyr

Same as you, It can be solved by reinstalling whisper with command "pip install openai-whisper==20231117", but I have no idea what wrong with my env.

HuXinjing avatar May 29 '25 09:05 HuXinjing