meshlab
meshlab copied to clipboard
pymeshlab, Cannot load library `libio_e57.so`
If I install pymeshlab==2023.12 through pip
and run import pymeshlab
I get following error :
>>> import pymeshlab
Warning:
Unable to load the following plugins:
libio_e57.so: libio_e57.so does not seem to be a Qt Plugin.
Cannot load library ...... /python3.11/site-packages/pymeshlab/lib/plugins/libio_e57.so: (/lib/x86_64-linux-gnu/libp11-kit.so.0: undefined symbol: ffi_type_pointer, version LIBFFI_BASE_7.0)
I found that similar issue occured in here
so I tried pip install pymeshlab==2023.10
and works fine.
It can be handled by conda install -y libffi==3.3
. I see that the libffi of my miniconda3 is 3.4(ffi_type_pointer
cannot be found)., while the one installed in my Ubuntu system is 3.3 (ffi_type_pointer
can be found).
However, it may modify minor versions of openssl and python...
Neither method solved the problem
conda install -y libffi==3.3
This fixed my problem
Neither method solved the problem
I solved this issue following https://blog.csdn.net/qq_38606680/article/details/129118491