neonbjb / tortoise-tts

A multi-voice TTS system trained with an emphasis on quality
Apache License 2.0
13.32k stars 1.85k forks source link

ImportError: Numba requires at least version 0.40.0 of llvmlite. #395

Closed todd0x closed 1 year ago

todd0x commented 1 year ago

ImportError: Numba requires at least version 0.40.0 of llvmlite. Installed version is 0.39.1. Please update llvmlite.

originally i got this error:

ImportError: Numba requires at least version 14.0.0 of LLVM. Installed llvmlite is built against version 11.1.0. Please update llvmlite.

so i used the command conda install llvmlite

now im getting the error

(base) C:\Users\PC\tortoise-tts>python tortoise/do_tts.py --text "I'm going to speak this" --voice random --preset fast Traceback (most recent call last): File "C:\Users\PC\tortoise-tts\tortoise\do_tts.py", line 7, in from api import TextToSpeech, MODELS_DIR File "C:\Users\PC\tortoise-tts\tortoise\api.py", line 22, in from tortoise.utils.audio import wav_to_univnet_mel, denormalize_tacotron_mel File "C:\Users\PC\miniconda3\lib\site-packages\tortoise-2.4.2-py3.10.egg\tortoise\utils\audio.py", line 10, in from tortoise.utils.stft import STFT File "C:\Users\PC\miniconda3\lib\site-packages\tortoise-2.4.2-py3.10.egg\tortoise\utils\stft.py", line 38, in from librosa.util import pad_center, tiny File "C:\Users\PC\miniconda3\lib\site-packages\lazy_loader-0.2-py3.10.egg\lazy_loader__init.py", line 76, in getattr submod = importlib.import_module(submod_path) File "C:\Users\PC\miniconda3\lib\importlib\init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "C:\Users\PC\miniconda3\lib\site-packages\librosa-0.10.0.post2-py3.10.egg\librosa\util\utils.py", line 11, in import numba File "C:\Users\PC\miniconda3\lib\site-packages\numba-0.57.0rc1-py3.10-win-amd64.egg\numba\init.py", line 231, in _ensure_llvm() File "C:\Users\PC\miniconda3\lib\site-packages\numba-0.57.0rc1-py3.10-win-amd64.egg\numba\init__.py", line 167, in _ensure_llvm raise ImportError(msg) ImportError: Numba requires at least version 0.40.0 of llvmlite. Installed version is 0.39.1. Please update llvmlite.

JackB296 commented 1 year ago

conda install --channel=numba llvmlite

seemed to work for me