Skip to content
This repository has been archived by the owner on Feb 5, 2018. It is now read-only.

print("Rouge returned a non-zero error code. Output was: ", file=sys.stderr) #1

Open
vwoloszyn opened this issue Jun 3, 2016 · 1 comment

Comments

@vwoloszyn
Copy link

File "/Library/Python/2.7/site-packages/pyrouge/rouge.py", line 76
print("Rouge returned a non-zero error code. Output was: ", file=sys.stderr)
^
SyntaxError: invalid syntax

Do you have any idea how to solve this problem?

I installed this by pip install git+https://github.com/andersjo/pyrouge

Thanks in advanced

@dcvan24
Copy link

dcvan24 commented Oct 27, 2016

Hi @vwoloszyn , I also got this issue. The workaround is to clone the code and then comment out the problematic line in rouge.py (I commented out all the print lines). Then do python setup.py install and you should be able to get through.

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

No branches or pull requests

2 participants