LMSouq
server-admin Open

Ubuntu 20.04 upgrade, Python missing libffi.so.6

KH
Kh4zit
1 month ago
3 views
Problem Description
I recently upgraded my OS to Ubuntu 20.04 LTS. Now when I try to import a library like Numpy in Python, I get the following error: > ImportError: libffi.so.6: cannot open shared object file: No such file or directory I tried installing the `libffi` package, but apt can't locate it: ``` sudo apt-get install libffi Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libffi ```

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base