set pyrouge_set_rouge_path error [duplicate]
Asked Answered
F

1

0

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

Flock answered 27/11, 2014 at 15:6 Comment(3)
Try restarting the terminal.Doucet
I think I have the solution. The command line is not complete on the site. In my case: command> python pyrouge_set_rouge_path c:\local\to\RougeArlettaarlette
The command on the site works on linux systems because they look at the first line (shebang) in the script to decide which program to open the script with, but windows doesn't do that.Doucet
A
0

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.

Arissa answered 1/12, 2014 at 11:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.