我试图在使用libxmp的AWS lambda上使用简单的python处理程序。 它在初始化时失败:来自libxmp import XMPFiles,consts
我已编译(在64位AMI linux实例上)exempi-2.4.2并放在bundle.zip下的TASK_ROOT / lib下。但仍然得到:
Exempi library not found.: ExempiLoadError
Traceback (most recent call last):
File "/var/task/handler.py", line 11, in handler
from libxmp import XMPFiles, consts
File "/var/task/libxmp/__init__.py", line 50, in <module>
from .core import XMPMeta, XMPIterator
File "/var/task/libxmp/core.py", line 50, in <module>
from . import exempi as _cexempi
File "/var/task/libxmp/exempi.py", line 70, in <module>
EXEMPI = _load_exempi()
File "/var/task/libxmp/exempi.py", line 61, in _load_exempi
raise ExempiLoadError('Exempi library not found.')
ExempiLoadError: Exempi library not found.