-
Notifications
You must be signed in to change notification settings - Fork 100
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
ModuleNotFoundError: No module named 'bin.rouge_cmd' #56
Comments
Honestly don't get it. I tried using exact same version of python and pip, everything is fine... Maybe things are messed up by environments, are you using some envs? |
same bug. |
Please use python rouge/bin/rouge_cmd.py -f ./fb/data/xsum_hypo/bart.test.hypo ./fb/data/xsum_data/test.target -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I wanted to first test out the rouge library on the sample files provided ('./tests/hyp.txt' and './tests/ref.txt') before actually using it on my own files.
However, on running the command:
rouge -f ./tests/hyp.txt ./tests/ref.txt
I get the following error:
Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.8/bin/rouge", line 33, in <module>
sys.exit(load_entry_point('rouge==1.0.0rc2', 'console_scripts', 'rouge')())File "/Library/Frameworks/Python.framework/Versions/3.8/bin/rouge", line 25, in importlib_load_entry_point
return next(matches).load()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'bin.rouge_cmd'`
P.S.:
UPDATE: The library worked when I tried using it on google colab (with Python3.6.9 and pip19.3.1)
The text was updated successfully, but these errors were encountered: