问题
I have Windows 7 and use Python 3.4
I'm trying to work with ROUGE installing pyrouge from pypi.
I followed the installation steps on the site https://pypi.python.org/pypi/pyrouge/0.1.2
But the command:
pyrouge_set_rouge_path /absolute/path/to/ROUGE-1.5.5/directory
doesn't execute.
I try in the command prompt:
pyrouge_set_rouge_path C:\rouge
and the error:
'pyrouge_set_rouge_path' is not recognized as an internal or external command, operable program or batch file.
I would greatly appreciate if you can help me with something. Thanks
回答1:
I asked the same question for Python 2.7 in stackoverflow, and received the following answer:
set pyrouge_set_rouge_path=C:\rouge
This worked for me.
来源:https://stackoverflow.com/questions/27173692/set-pyrouge-set-rouge-path-error