cyang-kth/fmm

Import error when running fmm_test.py

SwiftPredator opened this issue · 1 comments

Note
Before posting an issue about bug in the program

  • Make sure you have downloaded/pulled the latest version of repo
  • search the GitHub issue page with keywords to check if a similar issue has been posted or not.

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?