我已经安装了MAT:元数据匿名化工具包。当我尝试运行 mat 时,出现以下错误:
user@user ~ $ mat
Traceback (most recent call last):
File "/usr/bin/mat", line 10, in <module>
from libmat import mat
File "/usr/lib/python2.7/dist-packages/libmat/mat.py", line 22, in <module>
import strippers # this is loaded here because we need LOGGING_LEVEL
File "/usr/lib/python2.7/dist-packages/libmat/strippers.py", line 9, in <module>
import office
File "/usr/lib/python2.7/dist-packages/libmat/office.py", line 15, in <module>
gi.require_version('Poppler', '0.18')
File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 102, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Poppler not available
我不知道如何解决这个问题。帮助。
有关我的系统的信息:
user@user ~ $ uname -a
Linux user 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
答案1
您需要安装gir1.2-poppler-0.18
.它不随 一起安装mat
,但mat
需要它才能运行。
可以找到Ubuntu安装包这里。