pyrouge
pyrouge copied to clipboard
print("Rouge returned a non-zero error code. Output was: ", file=sys.stderr)
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
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.