pip install -U git+https://github.com/pltrdy/pyrouge
或者:
# 两步走的安装(安装完还需要自己删除git文件) git clone http://127.0.0.1/XXX/demo.git #change dir cd demo # install python setup.py install --user # windows环境下加--user 不然容易报错
二、
git clone https://github.com/pltrdy/files2rouge.git 三、
cd files2rouge
python setup_rouge.py
python setup.py install
四、
打开文件C:UsersAdministratorAppDataRoamingPythonPython38site-packagesfiles2rouge-2.1.0-py3.8.eggfiles2rougesettings.json
编辑rouge1.5.5的目录
{
"ROUGE_path": "H:\Pycharm_Workplace_experiment\files2rouge-master\rouge155\ROUGE-1.5.5.pl",
"ROUGE_data": "H:\Pycharm_Workplace_experiment\files2rouge-master\rouge155\data"
}



