ardha27 / AI-Waifu-Vtuber

AI Vtuber for Streaming on Youtube/Twitch
790 stars 125 forks source link

Error with Mecab #44

Open Kleat opened 1 year ago

Kleat commented 1 year ago

is there any idea what is causing the following error when i attempt to run run.py? i've installed mecab with the command pip install mecab as well.

ImportError: DLL load failed while importing _MeCab: The specified module could not be found.

ardha27 commented 1 year ago

it's known issues and some people also facing it, but idk what is the real problem. For now you can follow the FAQ on my github about mecab error

Tomiiiix commented 1 year ago

I solved this problem by removing python and everything , and then re-installing it again.

tn-17 commented 1 year ago

You will need to install the MeCab 64-bit binary if you are using Python 64-bit as per the instructions on https://pypi.org/project/mecab/

dontaco2000 commented 1 year ago

(base) C:\AI-Vtuber>python run.py Traceback (most recent call last): File "C:\AI-Vtuber\run.py", line 16, in from utils.TTS import File "C:\AI-Vtuber\utils\TTS.py", line 5, in from utils.katakana import File "C:\AI-Vtuber\utils\katakana.py", line 1, in import MeCab File "C:\Users\donta\AppData\Roaming\Python\Python310\site-packages\MeCab__init__.py", line 10, in from . import _MeCab ImportError: DLL load failed while importing _MeCab: The specified module could not be found.

olehrab commented 11 months ago

I have same errors. How can I do?

olehrab commented 11 months ago

I have solved this problem. I installed mecab.

Kthunda commented 3 months ago

Had the same problem, and found a solution :

Manually copy libmecab.dll from:

C:\Users\<YourUsername>\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\lib\site-packages\MeCab\

to this folder:

C:\Users\<YourUsername>\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\MeCab\