MeCab: “ImportError: DLL load failed: The specified module could not be found.”

Viewed 624

This is the first time I use python...

I use win 10 + py38. I used "pip mecab-python3" and successfully installed mecab-python3-1.0.1,but there is something wrong.

And the question as bellow:

import MeCab
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-022fc4ee216d> in <module>
----> 1 import MeCab

~\Anaconda\lib\site-packages\MeCab\__init__.py in <module>
      8 
      9 from __future__ import absolute_import, print_function
---> 10 from . import _MeCab
     11 
     12 import os

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

How can I handle this problem?

2 Answers

download the appropriate version version for system here during installation some downloads will be done on visual studio code editor. make sure your internet connection is good. for better set up make sure you already have visual studio code editor. make sure you know the new visual c++ distributor you have before, by navigating to control panel the to programs. if the installation is successful unistall the previous visual c++ distributor. follow this youtube guide for proper installation

Related