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

Installation Issue #2

Open
i55code opened this issue Nov 10, 2021 · 2 comments
Open

Installation Issue #2

i55code opened this issue Nov 10, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@i55code
Copy link

i55code commented Nov 10, 2021

🐛 Bug

Hi, I have two questions here as I attempt to run the interface:

  1. pip install mt-telescope: This removes the most updated version of COMET (unbabel-comet==1.0.0rc9) and replaces it with unbabel-comet==1.0.0rc2, is this supposed to do that? Or can MT-telescope be updated with the most recent version of COMET?
  2. telescope streamlit produced the following error in mutiple machines that I tried:

Traceback (most recent call last):
File "/home/.local/lib/python3.8/site-packages/MeCab/init.py", line 133, in init
super(Tagger, self).init(args)
RuntimeError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/.local/bin/telescope", line 5, in
from telescope.cli import telescope
File "/home/.local/lib/python3.8/site-packages/telescope/cli.py", line 26, in
from telescope.metrics import AVAILABLE_METRICS, PairwiseResult
File "/home/.local/lib/python3.8/site-packages/telescope/metrics/init.py", line 1, in
from .sacrebleu import sacreBLEU
File "/home/.local/lib/python3.8/site-packages/telescope/metrics/sacrebleu/init.py", line 1, in
from .metric import sacreBLEU
File "/home/.local/lib/python3.8/site-packages/telescope/metrics/sacrebleu/metric.py", line 20, in
import sacrebleu
File "/home/.local/lib/python3.8/site-packages/sacrebleu.py", line 962, in
'ja-mecab': TokenizeMeCab().tokenize,
File "/home/.local/lib/python3.8/site-packages/sacrebleu.py", line 929, in init
self.tagger = MeCab.Tagger("-Owakati")
File "/home/.local/lib/python3.8/site-packages/MeCab/init.py", line 135, in init
raise RuntimeError(error_info(rawargs)) from ee
RuntimeError:

Failed initializing MeCab. Please see the README for possible solutions:

https://github.com/SamuraiT/mecab-python3#common-issues

If you are still having trouble, please file an issue here, and include the
ERROR DETAILS below:

https://github.com/SamuraiT/mecab-python3/issues

issueを英語で書く必要はありません。

------------------- ERROR DETAILS ------------------------
arguments: -Owakati
[ifs] no such file or directory: /usr/local/etc/mecabrc

@i55code i55code added the bug Something isn't working label Nov 10, 2021
@i55code
Copy link
Author

i55code commented Nov 16, 2021

I used another machine for installation, and MT telescope works without producing this error. Though I can use the new machine for running MT telescope, I still do want to know how to resolve the above error. Feel free to let me know. Thanks.

@federicocesena
Copy link

For me the error is:
Error: Invalid value: File does not exist: /app.py

I did not install from the source, but from pip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants