Ubuntu 20.04 upgrade, Python missing libffi.so.6

后端 未结 6 1535
暗喜
暗喜 2021-02-06 20:59

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         


        
6条回答
  •  野性不改
    2021-02-06 21:43

    Its probably the libffi6 package that you want, that installs a libffi.so.6.

    sudo apt-get install libffi6
    

提交回复
热议问题