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

Nima Soroush
  • 12,242
  • 4
  • 52
  • 53
Fábio
  • 1
  • 1
  • Try restarting the terminal. – Ionut Hulub Nov 27 '14 at 15:19
  • 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\Rouge – Fábio Nov 27 '14 at 16:13
  • 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. – Ionut Hulub Nov 28 '14 at 09:05

1 Answers1

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.

Community
  • 1
  • 1
user1799092
  • 163
  • 2
  • 16