cyang-kth / fmm

Fast map matching, an open source framework in C++
https://fmm-wiki.github.io/
Apache License 2.0
875 stars 205 forks source link

Import error when running fmm_test.py #257

Open SwiftPredator opened 1 year ago

SwiftPredator commented 1 year ago

Note Before posting an issue about bug in the program

Describe the bug I did a clean install of the fmm library on ubuntu inside a conda environment after some months of not using it. The python versions from installing and executing the test script match. However, i get the following error while importing fmm inside the python bindings:

Traceback (most recent call last): File "/home/paul/repos/fmm/example/python/fmm_test.py", line 1, in from fmm import Network,NetworkGraph,STMATCH,STMATCHConfig File "/home/paul/anaconda3/envs/fmm/lib/python3.9/site-packages/fmm.py", line 15, in import _fmm ImportError: /lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0

Maybe some mismatch in a dependent library version?