设置pyrouge_set_rouge_path错误 [英] set pyrouge_set_rouge_path error

查看:375
本文介绍了设置pyrouge_set_rouge_path错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Windows 7,并使用Python 3.4

I have Windows 7 and use Python 3.4

我正在尝试与ROUGE一起从pypi安装pyrouge.

I'm trying to work with ROUGE installing pyrouge from pypi.

我按照网站 https://pypi.python.org/上的安装步骤进行操作pypi/pyrouge/0.1.2

但是命令:

pyrouge_set_rouge_path /absolute/path/to/ROUGE-1.5.5/directory 

不执行.

我在命令提示符下尝试:

I try in the command prompt:

pyrouge_set_rouge_path C:\rouge

和错误:

'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

推荐答案

我问了

I asked the same question for Python 2.7 in stackoverflow, and received the following answer:

set pyrouge_set_rouge_path=C:\rouge

这对我有用.

这篇关于设置pyrouge_set_rouge_path错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆