mesh
mesh copied to clipboard
Installation Issue with ImportError: libffi.so.6
Hello! Thank you for sharing this great repo! I had an issue during installation:
System: Ubuntu 20.04
Python Version: 3.6.9, virtual environment created with conda
Steps:
$ conda create -n flame-test python=3.6.9
$ conda activate flame-test
$ BOOST_INCLUDE_DIRS=/usr/include/boost/ make all
# Normal outputs are skipped here
...
...
ImportError: libffi.so.6: cannot open shared object file: No such file or directory
make: *** [Makefile:6: all] Error 2
I have checked my system, looks like Ubuntu 20 doesn't have libffi6 supported. It has libffi7 instead.
I have made sure boost is installed. Could you please help me to resolve this error?
I figured this out. If you are using Ubuntu 20.04 or higher, you have to use Python >=3.8 because it relies on libffi7, which is natively nested and supported by Ubuntu 20.04.
I got this error when I used python 3.8 on Ubuntu 20.04. Python 3.7 env works as stated in VOCA