Missing libmmal.so with picamera library

后端 未结 1 1757
北海茫月
北海茫月 2021-01-25 15:39

After installing the picamera library using pip, whenever I import the library I get this error:

OSError: libmmal.so: cannot open shared object file: No such fil         


        
相关标签:
1条回答
  • 2021-01-25 16:02

    On a raspberry, the libmmal.so library should be located at /opt/vc/lib, did you by any chance wipe this folder?

    The firmware located in that directory is updated via

    sudo rpi-update

    If this tells you that you are already at the newest version, you can force an update by prior running

    sudo rm /boot/.firmware_version

    Please also see my other answer.

    Are you running ubuntu 14.04 on your rpi? If not, i think you will have to recompile the libraries from the firmware.

    0 讨论(0)
提交回复
热议问题