set pyrouge_set_rouge_path error

1.1k views Asked by At

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

There are 1 answers

0
user1799092 On

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.