加载音译模块libpostalpython绑定时出错

2024-10-02 00:33:58 发布

您现在位置:Python中文网/ 问答频道 /正文

我安装了libpostal及其Python绑定Pypostal(使用pip)。一切看起来都很好,但当我尝试使用它时,我得到了一个错误:

ERR   Error loading transliteration module, dir=(null)
   at libpostal_setup_datadir (libpostal.c:266) errno: No such file or directory

我正在使用Python3.6运行macOs

有人知道如何解决这个问题吗? 谢谢


Tags: pip错误dirsetuperrornullatmodule

热门问题