코랩 설치 에러

Issue #23 new
Former user created an issue

구글 코랩에서 설치에러가 뜨네요...

from konlpy.tag import Mecab mecab = Mecab()


RuntimeError Traceback (most recent call last) /usr/local/lib/python3.6/dist-packages/konlpy/tag/_mecab.py in init(self, dicpath) 107 try: --> 108 self.tagger = Tagger('-d %s' % dicpath) 109 self.tagset = utils.read_json('%s/data/tagset/mecab.json' % utils.installpath)

2 frames RuntimeError:

During handling of the above exception, another exception occurred:

Exception Traceback (most recent call last) /usr/local/lib/python3.6/dist-packages/konlpy/tag/_mecab.py in init(self, dicpath) 109 self.tagset = utils.read_json('%s/data/tagset/mecab.json' % utils.installpath) 110 except RuntimeError: --> 111 raise Exception('The MeCab dictionary does not exist at "%s". Is the dictionary correctly installed?\nYou can also try entering the dictionary path when initializing the Mecab class: "Mecab(\'/some/dic/path\')"' % dicpath) 112 except NameError: 113 raise Exception('Install MeCab in order to use it: http://konlpy.org/en/latest/install/')

Exception: The MeCab dictionary does not exist at "/usr/local/lib/mecab/dic/mecab-ko-dic". Is the dictionary correctly installed? You can also try entering the dictionary path when initializing the Mecab class: "Mecab('/some/dic/path')"

Comments (1)

  1. Log in to comment