Closed 85405115 closed 7 years ago
pyrouge is trying to open your summary files and assumes they are encoded with UTF8, but they are in a different encoding.
The easiest way to solve this issue is to save your files in UTF-8 encoding before running pyrouge.
Alternatively, if for some reason, you don't want to do that, you could also modify the pyrouge source code, by replacing codecs.open("path/to/summary/file", encoding="utf8")
with codecs.open("path/to/summary/file", encoding="YOUR_ENCODING")
I saved my files into UTF-8 encoding and the problem was solved. thanks.
i run these commands, successfully:
and in the last command, i receive this:
then i run this piece of code:
then i get this error:
what is wrong?