Closed tifoji closed 2 years ago
Resolution
Basically libffi7 requires updating apt sources and installing it.
1) Update sources
pi@raspberrypi:/etc/apt/sources.list.d $ cat libffi.list
deb http://ftp.de.debian.org/debian bullseye main
2) Update the source keys
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 605C66F00D6C9793
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
3) Update apt with the new source
sudo apt update
4) Install libffi7
sudo apt install libffi7
You can (should) also comment out or disable the bullseye sources once installed otherwise it will prompt to install the very new release for many other packages.
Closing because this is a python installation issue and not a TDA library issue.
I will however leave it up for posterity and future searchers.
Please read the bug submission guidelines before submitting a bug.
Not following guidelines may result in your bug being ignored and/or closed.
Description of Bug ImportError: libffi.so.7: cannot open shared object file: No such file or directory
Code to Reproduce import tda (or any of the python scripts from the project)
Expected Behavior should import the library and make modules available
Actual Behavior