Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An RuntimeError #25

Open
peco2282 opened this issue May 10, 2024 · 0 comments
Open

An RuntimeError #25

peco2282 opened this issue May 10, 2024 · 0 comments

Comments

@peco2282
Copy link

コード

    tagger = MeCab.Tagger(
        '-d "D:/Program Files/MeCab/dic/ipadic" -u "D:/Program Files/MeCab/dic/NEologd/NEologd.20200910-u.dic"')

エラー

Traceback (most recent call last):
  File "D:\path\to\program\prog.py", line 41, in <module>
    main()
  File "D:\path\to\program\prog.py", line 27, in main
    tagger = MeCab.Tagger(
  File "D:\path\to\program\prog.py", line 355, in __init__
    _MeCab.Tagger_swiginit(self, _MeCab.new_Tagger(*args))
RuntimeError

同じコードがmecab-python3では動くのですが、このライブラリだと動きません。
mecab.exeのパスは通っています。

バージョン:
python: 3.10.8
mecab: 0.996.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants