pyrouge使用中的错误
来源:http://www.tudoupe.com时间:2022-02-19
一、安装pyrouge No such file or directory: ‘yourpath/.pyrouge/settings.ini’
二、OSError: [WinError 193] %1 is not a valid Win32 application
Open C:Anacondaenvspy35Libsite-packagespyrougeRouge155.py (or wherever you installed pyrouge), go to the function def evaluate(self, system_id=1, rouge_args=None) (it’s at line 319 at the time I am writing this answer), and add command.insert(0, 'perl ') right before self.log.info(“Running ROUGE with command {}”.format(" ".join(command))). (If you don’t do it, you’ll get OSError: [WinError 193] %1 is not a valid Win32 application, which is the same error message as what you would get for if you don’t do some of the previous steps).
参考资料:
ubuntu 18.04安装pyrouge No such file or directory: ‘yourpath/.pyrouge/settings.ini’
OSError: [WinError 193] %1 is not a valid Win32 application
相关新闻
- 2023-05-06 微pe怎么初始化U盘(微pe怎么恢复初
- 2023-05-06 Xp系统boot 进入pe(boot manager 怎么进入
- 2023-05-06 win pe修复bcdboot(pe修复系统)
- 2023-05-06 win7更新失败 pe(win7更新失败还原更
- 2023-05-06 u盘装了pe读取不了(u盘能进pe读取不
- 2023-05-06 u盘pe 发热(u盘发热烫手)
- 2023-05-06 u盘pe下看不到硬盘(u盘启动pe看不到
- 2023-05-06 pe盘 ntfs(u盘ntfs格式)
- 2023-05-06 sony笔记本进入pe模式(联想笔记本怎
- 2023-05-06 pe启动盘进不去(pe启动盘进不去系统
|
|
|
|
|
|
|
|
|
|